Friday, December 31, 2010

Re: [android-developers] Re: How to do this kind of screen alignment?

On Fri, Dec 31, 2010 at 6:24 PM, Mystique <joven.chiew@gmail.com> wrote:
Happy New Year TreKing :)

An a happy one to you :)
 
Right, I did try using table but the column will be stretch if the text is longer than the image.
Is it suppose to work this way?

By default, yes. It will just try to expand the columns to fit it's contents. Try using weights and the shrinkable / expandable properties to control the column widths. 
 
I am now thinking whether there are ways to dynamically take the screen measurement and draw during run time.

There's rarely good reason to deal directly with screen measurements.

-------------------------------------------------------------------------------------------------
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment