<RelativeLayout android:orientation="vertical"
android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/com.junzy.mobile.android">
<include layout="@layout/header" /> 是屏幕顶部的显示栏
<include layout="@layout/content" />中间内容栏
<include layout="@layout/footer" />屏幕下方显示栏,是基于底部显示的
</RelativeLayout>
本文详细介绍了Android应用中使用的一种常见布局方式——RelativeLayout,并展示了如何通过包含不同的子布局来构建完整的页面结构,包括顶部显示栏、中间内容栏及底部显示栏。
3112

被折叠的 条评论
为什么被折叠?



