0
Я получаю это случайное поле в нижней части одного из моих макетов. Кажется, что он подталкивает фон вверх, поэтому часть вершины обрезана (возможно, это не так заметно. http://i.imgur.com/NNWfIYh.pngКак я могу избавиться от этого пустого белого пространства внизу?
Все, что я делал недавно, изменило тему моего приложения. Макет MyAltivity не отображается как это, так что я предполагаю, что это проблема с этой схемой. Вот код
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/choose_test_bg">
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="64dp"
android:id="@+id/linearLayout"
android:layout_alignParentTop="true"
>
<ImageView
android:src="@drawable/ta_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-A"
android:id="@+id/buttonA"
android:onClick="onButton1Click"
android:layout_marginLeft="35dp"/>
<ImageView
android:src="@drawable/tb_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-B"
android:id="@+id/buttonB"
android:layout_marginLeft="10dp"
android:onClick="onButton1Click"/>
<ImageView
android:src="@drawable/tc_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-C"
android:id="@+id/buttonC"
android:layout_marginLeft="10dp"
android:onClick="onButton1Click"/>
<ImageView
android:src="@drawable/td_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-D"
android:id="@+id/buttonD"
android:layout_marginLeft="10dp"
android:onClick="onButton1Click"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/linearLayout"
android:layout_marginTop="42dp"
android:id="@+id/linearLayout2">
<ImageView
android:src="@drawable/te_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-E"
android:id="@+id/buttonE"
android:layout_alignTop="@+id/linearLayout2"
android:layout_toRightOf="@+id/linearLayout2"
android:layout_toEndOf="@+id/linearLayout2"
android:layout_marginLeft="35dp"/>
<ImageView
android:src="@drawable/tf_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-F"
android:id="@+id/buttonF"
android:layout_marginLeft="10dp"/>
<ImageView
android:src="@drawable/tg_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-D"
android:id="@+id/buttonG"
android:layout_marginLeft="10dp"
android:onClick="onButton1Click"/>
<ImageView
android:src="@drawable/th_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="T-D"
android:id="@+id/buttonH"
android:layout_marginLeft="10dp"
android:onClick="onButton1Click"/>
</LinearLayout>
</RelativeLayout>