Hi, All you can do is set the height of the list view to be 100px directly. ListView really is not meant to be used this way and wrap_content is only supported to avoid errors or blank screens
On Tue, Jan 13, 2009 at 4:50 AM, jalandar <[email protected]> wrote: > > Hello everybody I want set initial height of list view with wrap > content, and later it will be expanded as per data added to specific > limit of height. I used wrap_content for height and android:maxHeight > ="100px", but it is not working properly the list grows in height > beyond the maxHeight as the list item added. > Is there any other solution. > > > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

