自定义扩展列表不同的内容 [英] Custom Expandable List with different content
问题描述
我要创造一个包含首次定位内容,如按钮和图像,然后一个可扩展的列表中的活动。但在扩展列表,以及我希望出现不同的内容,如谷歌地图的地图,图片,日历,文字...就像我把下面的图像中。
I want to create a activity where contains first fix content like buttons and images and then a expandable list. But in the expandable list as well I want to appear different content like google maps map, images, calendar, text... like I put in the image below.
我试图找到如何使该例子,但我只找到谁只具有扩展列表(与上文所述的按键和图像),并为我所需要的扩展列表只有内部,而不是文本的不同内容的活动。有人知道在哪里可以找到一个很好的例子吗?或者我该怎么办呢?
I tried to find examples about how to make that but I only found activities who has only the expandable list (with out the buttons and images above) and the expandable list only have text inside and not different content as I need. Someone knows where to find a good example? or how can I do it?
谢谢!
推荐答案
试试我们下面的教程:
的http://www.dreamin$c$c.net/forums/topic/270612-how-to-get-started-with-expandablelistview/
您可以使用getView()适配器提供自己的看法。
you can use getView() of the adapter to provide your own view.
这篇关于自定义扩展列表不同的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!