<com.andexert.expandablelayout.library.ExpandableLayoutItem
android:id="@+id/expandableLayout"
xmlns:expandable="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
expandable:headerLayout="@layout/view_header"
expandable:contentLayout="@layout/view_content"/>
dependencies {
compile 'com.github.traex.expandablelayout:library:1.2.2'
}
<com.andexert.expandablelayout.library.ExpandableLayoutListView
android:id="@+id/expandableLayout"
xmlns:expandable="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"/>