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. Can I bind to the MediaPlaybackService?

The MediaPlaybackService has exported=true but no intent filters.
How do I create an Intent to bind to it?
--~--~---------~--~----~------------~-------~--~----~

2. Regarding passing array strings from one activity to another activity

It works if you do it right. ;)

I think what you are doing wrong is that you try to receive the String
[] from the parameter in onCreate(Bundle savedInstanceState) but you
should get it from getIntent().getExtras().get...

Regards,
plusminus



--~--~---------~--~----~------------~-------~--~----~

3. Regarding passing array strings from one activity to another activity

4. Regarding passing array strings from one activity to another activity

5. how can I check if an Activity is visible or not?

6. Storing images (but not in /sdcard/dcim)

7. "No applications can perform this action." error.