Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a tree view in Android?

Tags:

android

There are no controls in Android that provide Tree-like View. There is an ExpandableList View which I suspect could be used to creating one.

Have you tried imlpementing such a control? How would one implement such a control in Android?

like image 946
Samuh Avatar asked Dec 22 '09 08:12

Samuh


2 Answers

Our company just open-sourced a small widget that is doing just that... You can see all the sources and add the project (as a library) to your own android project:

http://code.google.com/p/tree-view-list-android/

like image 94
Jarek Potiuk Avatar answered Nov 14 '22 20:11

Jarek Potiuk


take a look at ExpandableListView. Besides, see following thread:

http://www.mail-archive.com/[email protected]/msg03587.html

like image 37
blacharnia Avatar answered Nov 14 '22 18:11

blacharnia