From
Developer.android.com: “A view that shows
items in a vertically scrolling two-level list. This differs from the ListView
by allowing two levels: groups which can individually be expanded to show its
children. The items come from the ExpandableListAdapter associated with this
view”
In this
tutorial, we show you how to create a custom ExpandableListView with some images,
texts... We want to make some
groups of car and customize them with image, text and a checkbox. In each group,
we will contain a few different cars, in particular each children row has to
contain: an image and the name of the car.
Here is a result of this tutorial:
This project is developed in Eclipse 4.2.0.
1. Make application interface: The main layout of this app
demo have a text view, a button and an expandable list view.