Is it possible to put more than one TextView in the items of a ExpandableListView?
I’ve tried this, and not working, the second TV is not shown:
group_item.xml
<TextView android:id="@+id/row_name"
android:paddingLeft="5dp"
android:textSize="18dp"
android:textColor="@color/black"
android:textStyle="normal"
android:layout_width="320dp"
android:layout_height="wrap_content"/>
<TextView android:id="@+id/row_desc"
android:text="Some text here"
android:paddingLeft="5dp"
android:textSize="18dp"
android:textColor="@color/black"
android:textStyle="normal"
android:layout_width="320dp"
android:layout_height="wrap_content"/>
You haven’t said what’s backing your listview, so I’ll show an example with cursors (assuming a SimpleCursorTreeAdapter).