If your list-view uses a (list-)adapter (or a subclass of this), did you try to call notifyDataSetInvalidated() on the adapter? This will cause your adapter's getView(int position, View convertView, ViewGroup parent) to be called again and you can handle your changed list-item in there.
On Apr 1, 5:24 am, matthias <[email protected]> wrote: > Well, I found a really ugly workaround. That workaround is based on my > observation that the problem described does only occur if the > ListView's layout height is set to WRAP_CONTENT. So, since I use a > custom list adapter, I now call listView.getLayoutParams().height = > LayoutParams.FILL_PARENT whenever a text view is about to be > expanded... the reason I do not statically set its height to > FILL_PARENT is because then it will draw line separators below the > last element, which looks ugly if it doesn't expand to the bottom of > the screen. > > It works... but, yuck! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

