I'm trying to make a list item expandable. Basically, I want to have a button on each list item that, when pushed, expands that list item to show more info.
Is this possible on android? if so, how would i do it?
Thanks
Edit: To clarify, ideally I'd like the current list item to enlargen to show more info
Your easiest solution would probably be an ExpandableListView
.
But you can also implement something yourself where a button in each ListView
item unhides and hides View
under the normal item.
You use the API-Demo for help. There is a really good example of ExpandableListViews
Here the link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With