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. Best way to check if an alarm shall be fired

I'm new to android, and in java too. I'm trying to develop a simple
alarm application, but what is the best way to check if the alarm
shall be fired? Is it to use a time-tick receiver and check if the
alarm time and the current time is the same, or how should this be
done? I have looked at the official Alarm Clock source, but I can't
find out how it checks it.

Best Regards


2. Can't send SMS between 2 emulators


I'm writing a widget for messages and was trying to let it run in the
emulator. But I can't send messages between the emulators, even with
the messaging app.
I started one emulator from within Eclipse, started a second one from
the terminal and used the ports as phone numbers, but I don't receive
any SMS...
I'm running it on Mac OS X if that matters.

Any help is welcome.

Thanks in advance,



3. GUI when using custom kernel

4. Is it possible to add my app to the Picture Options list(Menu) of the Gallery app.

5. In my app.ShutterCallback didn't implemented

6. Android Device not detected on Karmic

7. Use an android phone's GPS from a website