こんにちは、Android のレイアウトを作成しています。画面の下部にスペースがありますが、リストビューは高さを拡張していません。1行だけのスペースを確保しています。
このレイアウトの何が問題なのか教えてください。
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/parentScrollView"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:background="@color/light_white"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/parentRelativeLayout"
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<RelativeLayout
android:id="@+id/relativeLayoutforAds"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true" />
<LinearLayout
android:id="@+id/linearLayoutList"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_below="@id/relativeLayoutforAds"
android:background="@color/black"
android:orientation="vertical" >
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
</RelativeLayout>
</ScrollView>