Awesome. Thanks.
On Dec 27, 1:20 am, Mark Murphy <[email protected]> wrote:
> gsmdwrote:
> > 1. I want to place 2 ListViews side-by-side vertically so that each
> > would occupy equal horizontal space. What I get so far with
> > TableLayout wrapping them is either the first shown only or one placed
> > under another.
>
> Put the ListViews inside a horizontal LinearLayout, each with
> layout_width=fill_parent, and layout_weight=1.
>
> > 2. Is there a way to say: in the ListView the first 2 items should get
> > 25% of vertical space each and the third should occupy the remaining
> > 50%?
>
> Only if you build your own Views to go into the lists. I have a series
> of blog posts on this subject:
>
> http://androidguys.com/?s=fancy+listviews
>
> Note that the older ones are for the M5 SDK and may require some changes
> to work on Android 1.0r2. Also, forgive the formatting flaws, stemming
> from an AndroidGuys site overhaul.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---