diff options
Diffstat (limited to 'res/layout/install_confirm.xml')
-rwxr-xr-x | res/layout/install_confirm.xml | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/res/layout/install_confirm.xml b/res/layout/install_confirm.xml index 8039e5d3..268a744e 100755 --- a/res/layout/install_confirm.xml +++ b/res/layout/install_confirm.xml @@ -72,36 +72,23 @@ <!-- OK confirm and cancel buttons. --> <LinearLayout - android:background="@color/title_background" android:layout_width="match_parent" android:layout_height="wrap_content" - android:gravity="bottom" - android:paddingTop="4dip" - android:paddingLeft="2dip" - android:paddingRight="2dip" - android:orientation="horizontal"> - <Button - android:id="@+id/ok_button" + android:orientation="horizontal" + style="@android:style/ButtonBar" + > + <Button android:id="@+id/ok_button" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" android:text="@string/install" - android:layout_width="150dip" - android:paddingLeft="6dip" - android:layout_gravity="left" - android:layout_weight="0.4" - android:layout_height="wrap_content"/> - <!-- Spacer --> - <View - android:id="@+id/buttons_spacer_left" + /> + + <Button android:id="@+id/cancel_button" android:layout_width="0dip" android:layout_height="wrap_content" - android:visibility="gone" - android:layout_weight="0.2" /> - <Button - android:id="@+id/cancel_button" - android:layout_width="150dip" - android:paddingRight="6dip" - android:layout_gravity="right" + android:layout_weight="1" android:text="@string/cancel" - android:layout_weight="0.4" - android:layout_height="wrap_content"/> + /> </LinearLayout> </LinearLayout> |