setting max height of listview with initial height is wrap content(it may be empty)

by jalandar » Tue, 13 Jan 2009 20:50:32 GMT

Sponsored Links
 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.

Other Threads

1. getApplicationContext() & AlertDialog.Builder

Shoot... I was kinda hoping they were in different parts of your code.  I'm
going to have to punt this one off to someone else...


There are only 10 types of people in the world...
Those who know binary and those who don't.

> > > 

2. disable SMS threading in Android 2.0

How can I disable threading of SMS. I get many messages, from one
source but on different topics so they are not a thread. A plain list
of SMS messages would be a lot easier to read. So how can the thread
view be turned off?


3. Can I use an old Android phone for development purposes?

4. Best and fastest way to load data?

5. raw mic data range

6. Not able to get Street Intersection addresses

7. Can key presses be intercepted when the device is sleeping?