Hello i am new to the android development and i want to draw circle in linear layout.i want to circle to remain in center even though i change the emulator to horizontal postions.how to acheive it
Besides i want to know how to get the Width and height of linear layout that i used?
when i tried using this
LinearLayout layMain = (LinearLayout)this.findViewById(R.id.chart);
layMain.addView(new Ball(this));
width=layMain.getWidth();
Log.v("Width",""+width);
I got output as 0,i dont know what's problem,need an idea on this
Regards
T.VimalBalan

