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. after creating an alarm service that starts on boot the adb tries to connect even after i stop the emulator, why is that?





there is nothing special on the logcat co's this happens when the
emulator is closed
i wonder maby the service that iv'e scheduled with the alarm at boot
completed shold be stoped on close ( when the emulator is closed )
is there a way to do so.....
and another thing when scedule a service to the alrm but not on boot
complete , on an activity, does it works the next time i run the
emulator
or should i schedule it again, co's this is why i schedule it on boot
completed the first time...
--~--~---------~--~----~------------~-------~--~----~

2. about SimpleCursorTreeAdapter

how to use SimpleCursorTreeAdapter? when I new  a
SimpleCursorTreeAdapter,there was an error"Cannot instantiate the
SimpleCursorTreeAdapter" in elipse,I don't know why
--~--~---------~--~----~------------~-------~--~----~

3. Regarding menu with gallery

4. MapController.centerToMap(Point, boolean) is not applicable for the arguments (Point, boolean)

5. How to communicate between IntentReceiver and Activity?

6. android service example

7. IM App inter thread communication