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. Any way to have two MediaRecorders recording at once?

Hi all,
     For my app I need to have two audio recordings that overlap each
other - that is, at some points in time there will be two separate
audio files being created from the same audio source.  I have
attempted to use two MediaRecorders and start the second one while the
first is still recording.  When I do this I get the following error:

ERROR/AudioFlinger(25): Record channel already open

    Is there any way to get around this?

Thanks in advance,


2. Relative view size or fixed aspect ratio

Is there a simple way for a view to have a fixed aspect ratio - E.g.

android:height=<always same as width...>

Or is there a way to specify for a view to take up some fixed size,
relative to the available screen size, e.g. width = 50% of screen
width, height=25% or screen height?


3. Where to find Jarsigner

4. Does SoundPool work or has anyone successfully used it?

5. Shares Preferences are not getting deleted

6. Text to Speech lib from Android Market

7. Signing Apps for a external testing group