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. Looking for some reading on the Android Framework

I have gone through several tutorials on Android programming and find
myself needing a better understanding of the Android Framework. Does
anyone know of an article or book that gives a good explanation of the
Android Framework and how to best make use of it? Is there a document
that also covers best practices?

2. No route to host issue, but Browser application works fine

Hey guys!
   So, this is very frustrating. I already have

<uses-permission android:name="android.permission.INTERNET"></uses-
permission>


in my manifest, but when my application tries to make a webservice
call (I'm using a HttpURLConnection object to do this via connect()
method), I'm getting an exception of "No route to host".

The built-in Browser application is able to access the internet
properly, so I'm guessing it's something in my project. Any ideas?

Kenn.

3. How Can I Debug Android native code

4. Targeting >=1.6(!), can't get rid of READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE

5. Can someone with a Motorola Droid call AccountManager.getAccounts() please?

6. A log collector - Online Bug collector For android developers

7. A log collector - Online Bug collector For android developers