我开发Android了一些具有通用 UI 格式的屏幕的应用程序。
自顶向下方法的格式是:
- 标题页眉(两个
buttons,ImageView) - 内容区域 - 活动之间会有所不同(包含 ListView、Tabs、Buttons、TextView、WebView ......)
- 页脚布局(
Relative Layout带三个Imagebuttons)
我想重新格式化代码,使其xml包含标题页眉和页脚布局,其他xml包含ListView标签,按钮..根据使用情况。我能做到这一点吗?请帮助我提供示例代码/链接....