<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:layout_width="match_parent"
android:layout_height="48dp"
android:text="this is top bar" />
<ListView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<TextView
android:layout_width="match_parent"
android:layout_height="48dp"
android:text="this is bottom bar" />
</LinearLayout>
top-middle-bottom layout
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326683308&siteId=291194637
Recommended
Ranking