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 <[email protected]> wrote: > 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 this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

