diff options
author | Jeff Hamilton <jham@android.com> | 2010-03-16 14:22:03 -0500 |
---|---|---|
committer | Jeff Hamilton <jham@android.com> | 2010-03-16 14:22:03 -0500 |
commit | ad120c5d4ce93e848f7391c966f6c014f8b0a544 (patch) | |
tree | 4dea624ac59d71493dfe0e7b92da713b208b919f /res/layout/uninstall_confirm.xml | |
parent | d388aa252071f9132957ebea13239750b65e79a8 (diff) | |
download | android_packages_apps_PackageInstaller-ad120c5d4ce93e848f7391c966f6c014f8b0a544.tar.gz android_packages_apps_PackageInstaller-ad120c5d4ce93e848f7391c966f6c014f8b0a544.tar.bz2 android_packages_apps_PackageInstaller-ad120c5d4ce93e848f7391c966f6c014f8b0a544.zip |
Use the system standard ButtonBar style as well as the standard medium title bar assest.
Change-Id: I3735873e6f885cfbbd5e0f7731c47e2089941c92
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 e84d04a6..7c079d92 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> |