它可以把不同的布局在ExpandableListView子项目? [英] it is possible to put different layouts for child items in ExpandableListView?

查看:161
本文介绍了它可以把不同的布局在ExpandableListView子项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是与Android一个新的开发,我试图把对儿童的项目不同的布局在扩展列表视图,但我无法找到完整的教程要做到这一点,所以如果能够做到这一点,请帮忙一个链接一个很好的教程或对这种类型的可扩展列表视图的简单code来源。
谢谢

I'm a new developer with android and I'm trying to put different layouts for child items in Expandable List View but I can't found the complete tutorial to do this so if is possible to do this, please help with a link for a good tutorial or a simple code source for this type of Expandable List View. thanks

推荐答案

HTTP: //www.techiecommunity.net/Android/Android-ExpandableListView-Layout-Example
本教程可以解决我的问题中提到的问题,但我仍然有一个问题,因为我的课扩展一个ListFragment和这个例子扩展ExpandableListActivity,所以有一个解决方案,用于??

http://www.techiecommunity.net/Android/Android-ExpandableListView-Layout-Example this tutorial can solve the problem mentioned in my question but i still have a problem because my class extendable a ListFragment and for this example extends ExpandableListActivity, so there is a solution for that ??

这篇关于它可以把不同的布局在ExpandableListView子项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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