1

Adding Items and Subitems to a ListView

view story
linux-howto

http://stackoverflow.com – I have the following XML file containing only a ListView <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <ListView android:id="@+id/lview" android:layout_width="fill_parent" android:layout_height="wrap_content" ></ListView> </RelativeLayout> I would like to add Items and Subitems to this ListView. My app makes a certain kind of search upon the user's request and gets the datas, (HowTos)