abhishek ameta
abhishek ameta

Reputation: 194

Expandable list in android xml

I am trapped . please write how to write a code for Expandable list in xml layout in android.

I have to create a static page that contains a expandable list ,tabs ,images and some other things please help me

Thank you

Upvotes: 1

Views: 374

Answers (2)

Siamak
Siamak

Reputation: 1799

I have build a super light solution recently . It's worth to have a look at :

https://github.com/draxdave/ConstraintAccordion

enter image description here

Upvotes: -1

Nataliia.dev
Nataliia.dev

Reputation: 2972

you mean like this:

<ExpandableListView android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:id="@+id/ex_list">

?

Upvotes: 2

Related Questions