私の人生はこのレイアウトの周りに私の頭脳を包むことはできません。私は下にボタンを得ることができたが、彼らは相対性的な理由から、私はそれらを両方とも50%にすることはできない。ここではいくつかのコードを簡単にするために取り外した私は、これまで持っているものです:スクロールビューの下部に2つの等しいサイズのボタンがあります
<ScrollView android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="50dip">
<LinearLayout android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="15px">
<ImageView android:id="@+id/ImageView02"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_marginBottom="15px"
android:layout_gravity="center_vertical|center_horizontal|center"/>
<TextView
android:id="@+id/barcode"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/item_number"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/release"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/other_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/box_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
</ScrollView>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_alignParentBottom="true">
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:id="@+id/add_bt"
android:text="Add to Collection" />
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:id="@+id/back_bt"
android:text="Go Back" />
</RelativeLayout>
あなたはダウン線形レイアウトを持参する重みとlayout_gravityでのLinearLayout使用して試すことができます。 – sat