Hello. Tell me how to implement drop-down text in android, as shown in the image 
2 answers
I would advise you to use RecyclerView, it was created as a ListView enhancement. It is a more flexible control for handling “data lists” that follow the delegation model of problems and leaves only one task behind it — processing items.
Here there is a library, there they have examples.
- And why does he
RecyclerViewsculptRecyclerViewfor two elements? - Eugene Krivenja - the image shows an example of what I need to implement; there will be at least 10 items on the real list. - Nikita
- Well, then the library is exactly suitable, and you can attach various objects to it. That is, for one item one drop-down text, for another with a button, etc. - Vitaly Robinovskiy
|
There is an option to use ExpandableList :)
|

Spinnerwatched? developer.android.com/guide/topics/ui/controls/spinner.html - Eugene Krivenja