hi,
i tried creating the layout dynamically in the oncreate of the
activity
my code looks some thing like this..
mLinearLayout_no_button = new LinearLayout(this);
mLinearLayout_no_button.setOrientation(1); ///---1.for
orientation to be vertical
try setting the layoutparams
.setLayoutParams( new LayoutParams(100,40));
When you are creating dynamically its best to set the width and height
always. u can also set to WRAP_CONTENT,WRAP_CONTENT etc.
On Thu, Apr 15, 2010 at 7:32 AM, grace grace.a...@wipro.com wrote:
hi,
i tried creating
2 matches
Mail list logo