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_progress.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_progress.xml')
-rwxr-xr-x | res/layout/uninstall_progress.xml | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/res/layout/uninstall_progress.xml b/res/layout/uninstall_progress.xml index cd754057..86204e30 100755 --- a/res/layout/uninstall_progress.xml +++ b/res/layout/uninstall_progress.xml @@ -41,22 +41,35 @@ android:paddingTop="24dip" android:layout_below="@id/center_text" android:max="100" /> - <RelativeLayout - android:id="@+id/ok_panel" + + <!-- Button bar with OK button --> + <LinearLayout android:id="@+id/ok_panel" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@color/title_background" - android:paddingTop="4dip" - android:paddingLeft="2dip" - android:paddingRight="2dip" - android:layout_alignParentBottom="true"> - <Button - android:id="@+id/ok_button" - android:paddingRight="6dip" - android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" + android:orientation="horizontal" + style="@android:style/ButtonBar" + > + <!-- Left spacer --> + <View + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + /> + + <Button android:id="@+id/ok_button" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="2" android:text="@string/ok" - android:layout_width="150dip" - android:layout_height="wrap_content"/> - </RelativeLayout> + /> + + <!-- Right spacer --> + <View + android:layout_width="0dip" + android:layout_height="match_parent" + android:layout_weight="1" + /> + </LinearLayout> </RelativeLayout> </ScrollView> |