On Sun, Oct 17, 2010 at 10:45 AM, Sharon <[email protected]> wrote:

> I want to add a RelativeLayout and set its height according to size of a
> font.
>

Why bother measuring the text? If you set the params to wrap_content, it
should just work.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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