0
なぜ中ボタンが消えますか?親の幅をすべて埋めるためにストレッチするのではなく、それに対して、layout_height = 0dpに設定すると、それは高さで行い、親を埋めるのですか?layout_weightを使用しています
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<Button
android:id="@+id/button1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Button" />
<Button
android:id="@+id/button2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Button" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
画像を描画して、ここに画像をアップロードできますか? – Pratik