diff options
Diffstat (limited to 'res/layout/uninstall_confirm.xml')
-rwxr-xr-x | res/layout/uninstall_confirm.xml | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/res/layout/uninstall_confirm.xml b/res/layout/uninstall_confirm.xml index e84d04a..7c079d9 100755 --- a/res/layout/uninstall_confirm.xml +++ b/res/layout/uninstall_confirm.xml @@ -54,38 +54,27 @@ android:textAppearance="?android:attr/textAppearanceMedium" android:layout_below="@id/uninstall_question" android:paddingLeft="16dip"/> + <!-- OK confirm and cancel buttons. --> <LinearLayout - android:background="@color/title_background" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" - 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/ok" - 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> </RelativeLayout> |