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. One problem with varible passing

I have 2 activity which are using RadioButtons. I am getting some int
value by the buttons. Now I want to pass these 2 values to some other
class (not activity). The class is the game loop and I want to use
this 2 values for diffrent level changes and other stuff.

I am confused about that how can I do it.

I tried to use object of that Activity class in the class file of
game. The problem is that Activity is no longer in use when this game
class comes into existance. So I can't pass the value even by creating
the object of activity class.

Is there any way I can solve this?


2. getListView().setTextFilterEnabled(true) get the filter text problem

no people?



3. AuthenticationException when accessing Google Spreadsheets

4. Can we register a callback which is called when user clicks on the play button of MediaController?

5. Streaming RTSP directly by suing MediaPlayer

6. Custom Style

7. Cheap functional phones