AbsoluteLayout layout = (AbsoluteLayout) this
.findViewById(R.id.include1);
AbsoluteLayout.LayoutParams params = 
new LayoutParams(Cm, Cm, 100, 100);
TextView[] days = new TextView[31];
days[0] = new TextView(this);
days[0].setText("1");
days[0].setTextColor(Color.BLACK);
layout.addView(days[0],params);
days[1] = new TextView(this);
days[1].setText("2");
days[1].setTextColor(Color.BLACK);
params.x=200;
params.y=200;
layout.addView(days[1],params);