Я знаю, что есть вопросы, подобные этому, но в большинстве случаев кажется, что их проблема в том, что они не выровняли макеты в качестве заполнителя. Ну, я сделал так, я не уверен, почему мои кнопки все еще не делают этого. Может ли это быть из-за всех используемых мной макетов?
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/face">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="100dp" android:gravity="center">
<ImageView android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:id="@+id/eyes" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/eyes1" />
<LinearLayout android:layout_marginTop="50dp" android:layout_height="wrap_content" android:layout_width="fill_parent" android:orientation="horizontal">
<Button android:id="@+id/eyesback" android:layout_width="50dp" android:layout_height="50dp" />
<Button android:id="@+id/eyesforward" android:layout_height="50dp" android:layout_width="50dp" android:layout_gravity="right"></Button>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
Наверное, что-то простое я тоже пропустил. Спасибо за любую помощь.