如何创建Android的树视图? [英] How to create a tree view in Android?

查看:188
本文介绍了如何创建Android的树视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有Android中没有控制,提供树状视图。有一个ExpandableList查看我怀疑可能被用来创造之一。

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.

您是否尝试过imlpementing这样的控制? 在Android的一个人怎么会实现这样的控制?

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

推荐答案

我们的公司刚刚开源的一个小的小工具,是做只是......你可以看到所有的来源并添加项目(作为一个库)你自己的Andr​​oid项目:

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:

<一个href="http://$c$c.google.com/p/tree-view-list-android/">http://$c$c.google.com/p/tree-view-list-android/

这篇关于如何创建Android的树视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆