[android-developers] Re: button.setheight not working ?

2009-11-21 Thread Nithin
Hi, I am using android 1.6. In that , its working fine, but setHeight() and setWidth() are pretty straight forward, nothing complex in that. You are creating button in code right ?. Thanks On Nov 21, 3:00 pm, Jags jag...@gmail.com wrote: Hi all, Can anybody please confirm, that

[android-developers] Re: button.setheight not working ?

2009-11-21 Thread Jags
thanks for replying, i was wondering that too, i wrote a plain code, there it works. is my linearlayout restricting it ? i have my layout defined as below LinearLayout android:id=@+id/LinearLayout01 android:layout_width=fill_parent android:layout_height=wrap_content

[android-developers] Re: button.setheight not working ?

2009-11-21 Thread Jags
I guess as my linearlayout's width is wrap_content, it will expand when my button expands. width might not expand, because of the weight = 1 factor On Nov 21, 4:38 pm, Jags jag...@gmail.com wrote: thanks for replying, i was wondering that too, i wrote a plain code, there it works. is my

[android-developers] Re: button.setheight not working ?

2009-11-21 Thread Jags
ok ! setting the buttons' height and width to wrap-content, worked !, but it screwed something else in the application. Is there a possibility that i have 5 linearlayouts in main.xml, and i start displaying with 3 linearlayouts and ad one by one after some time ? what woyld that code be ?

[android-developers] Re: button.setheight not working ?

2009-11-21 Thread skink
On Nov 21, 12:28 pm, Jags jag...@gmail.com wrote: linearlayout.setvisibility=invisible is not the solution because ll is invisible but it is aquiring screen space. i want that screen space free, so that the buttons are arranged perfectly so use GONE instead ov INVISIBLE -- You received