私は相対的なレイアウトを持っており、その中に2つの線形があります。1 つ目は背景として画像があり、2 つ目は 4 つのボタンが上下に並んでいます。
<RelativeLayout android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:orientation="vertical" >
<LinearLayout android:id="@+id/img"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg1">
</LinearLayout>
<LinearLayout android:id="@+id/header_layout_select"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_below="@id/img
android:layout_alignParentBottom="true" android:orientation="vertical" >
<button .... >
<button .... >
<button .... >
<button .... >
</LinearLayout>
</RelativeLayout>
btn レイアウトを img レイアウトの下に配置したいと思います。私の問題は、非常に小さな画面 (たとえば 2.7 インチ) でアプリを実行すると、最初の 2 つのボタンしか表示されないことです。すべてのボタンを表示したいです。