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.
For clearance here are images
In device.png is empty list view, in device1.png I want to keep this list view the Participation list with max height
e.g 100px beyond that it wont be expanded.

