Я хочу добавить макет так:Добавление макета в нижней части экрана в Android
<header layout>(Fixed)
|
|
<ScrollView>
|
|
<Footer Layout>(Fixed)
Вот что я пытался до сих пор:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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" >
<ScrollView
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@id/footer" >
<LinearLayout
android:id="@+id/liMain"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
</LinearLayout>
</ScrollView>
</RelativeLayout>
Во-первых, сделайте google относительно базовой концепции проектирования макета Android. –