I want to create a series of buttons that when clicked, expands into a plot of body of text. Not sure how to go about making this.
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
I’ve achieved this using an external library: ExpandableLayout
Well you don’t need to worry, you can just put all of your views inside a parent layout (it works as button) and you set their visibility to GONE, then when the parent is clicked you change their visibility to VISIBLE for example:
when Parent is clicked:
you can achieve that easily by: