[android-developers] change size of controls in a layout

2010-04-21 Thread dillipk
Hi, How do I change the size of the controls placed in a layout? (by any method) I tried to change the height of an EditBox -setHeight(10); doesn't seem to work. Thank you, -DK -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] change size of controls in a layout

2010-04-21 Thread social hub
did u call requestLayout() or invalidate() if that doesnt work try below textView.getLayoutParams().height = x; requestLayout(); should work On Wed, Apr 21, 2010 at 2:32 PM, dillipk codersnet2...@gmail.com wrote: Hi, How do I change the size of the controls placed in a layout? (by any