Hi,

I am struggling over another layouting problem again. I render a
ListView with ellipsized TextView elements, but those text views can
expand in size when the user clicks it. The problem is: If the
ListView doesn't already take the whole screen (e.g. because the total
height of all visible elements is smaller than the screen height),
then when expanding an element, the ListView's size doesn't also
expand accordingly, still obscuring most parts of the now taller text
view.

I have tried practically everything that seemed reasonable to me to
make the ListView get aware of the new height of its children,
including calls to:

invalidate()
measure()
recomputeViewAttributes(textView)

on all participating views (the list view and its elements), but
nothing works.

What am I missing? How can I programmatically tell a container view to
look at its children again in order to resize if necessary?

Thanks!
Matthias
--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to