Frage

I need to use ExpandableList in my app. I found this example: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html which I could compile without any problem.

But from this example, I'd like to do 2 things that I can't achieve:

1) Integrate this custom expandable list as a part of a layout and not the only element of the layout as it is now.

2) Use XML layouts for the generic view and for the child view.

Thanks in advance!

War es hilfreich?

Lösung

Solved!

Point 1 is answered here.

Point 2 is answered here

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top