On Sun, May 22, 2011 at 11:35 AM, Vla <[email protected]> wrote:
> It seems that ListView ignores layout_height="wrap_content".

Correct.

> I want a ListView to occupy exactly the space required by its content
> as wrap_content does,

There is no such concept. A ListView may have 0, 1, 2, 3, 4, 5, 6,
..., 3493, 3494, 3495, ... rows in it.

> Solution or workaround?

Redesign your UI. Or, possibly, don't use a ListView.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 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

Reply via email to