In the same way get each child set its height to whichever u want or set to
wrap_content if u prefer and call invalidate layout.

I would just set to wrap_content for the child so i can see whether its
getting resized as the first step

On Tue, Apr 13, 2010 at 9:17 AM, javame_android
<[email protected]>wrote:

> Hi,
>
> Thanks a lot.
>
> It worked out.
>
> But the inner views are not resized with this. Do we need to resize
> each and every component. I mean RelativeLayout has TextViews or
> Buttons as its child. Now, on button click event the view is resized
> but then TextView and Buttons just disappears.
>
> How can we resize the layout and its components as well?
>
>
> Regards
> Sunil
>
> --
> 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
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
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

Reply via email to