On Tue, Jun 8, 2010 at 10:26 PM, Matt (preinvent) <[email protected]>wrote:
> The TextView on the right has variable width text, and I want the TextView
> on the left to adjust its size accordingly to as much width as possible.
>
This sounds like a job for weighs. Try setting the right textview weight to
0 ("take up the room you need") and the one on the left to 1 ("take the rest
of the available space").
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking
--
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