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. Is automatic calling possible with android?

This is my first message to community, may sound bit stupid but bear
with me as I am new to developer's list.

I want to make an application using android which does the following:

Starting Step:
Asks user to use audio file or text(English)

1. Picks a phone number at random(or based on certain query) from
database,I read that android uses sqlite
2. Makes a call to this number and plays the selected sound file OR
the entered message using Text to speech.
3. When call finishes Update the database
4. Repeats the process till application is open

I am new to Android Developer's Community.So Please tell me if it is
possible or not to make such an application and also tell me how much
time and effort will it take?Will it be easy or tough for a beginner?



2. Pengen py EVO dan Incredible tp kantong pas2an? masuk deh hehehe

Sekitar berapa harganya bos?

2010/7/1 Vincent Wongso <>


3. Mirink Yogya 3 Juli 2010 jam 20:00 di Kafe Jendela (gmaps: -7.758659,110.395795)

4. OOT: Pembantaian terstruktur Jerman......

5. open other apk from my activity

6. Mirink Yogya 3 Juli 2010 jam 20:00 di Kafe Jendela (gmaps: -7.758659,110.395795)

7. Video Render application using Native SurfaceFlinger APIs