【发布时间】:2013-10-24 08:33:48
【问题描述】:
我需要创建一个包含表单/布局的ExpandableListView。
这里应该如何工作。
ExpandableListView 包含 2 个标题。 联系人和地址。当用户展开 Contacts 时,它应该显示 Contacts 表单。当用户展开 Address 时,它应该显示 Address 表单。
这些表单包含各种内容,包括 TextViews、EditTexts、ImageViews 等。很可能这些将在 RelativeLayout 中,因为它们是表单,而且您知道,需要看起来很专业。
我尝试了很多教程,包括
- http://www.vogella.com/articles/AndroidListView/article.html
- http://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/
- http://www.mkyong.com/android/android-listview-example/
但连线索都没找到。
我的问题是,我该怎么做?没有“我必须使用ExpandableListView”这样的限制,如果可以通过其他方式完成,我准备好了。
【问题讨论】:
标签: java android forms android-layout expandablelistview