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/op_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/op_progress.xml')
-rwxr-xr-x | res/layout/op_progress.xml | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/res/layout/op_progress.xml b/res/layout/op_progress.xml index 03fcaf69..9fe2d0be 100755 --- a/res/layout/op_progress.xml +++ b/res/layout/op_progress.xml @@ -44,37 +44,28 @@ android:paddingRight="16dip" android:layout_below="@id/center_text" android:max="100" /> + <!-- Launch and close buttons. --> - <LinearLayout - android:id="@+id/buttons_panel" - android:background="@color/title_background" + <LinearLayout android:id="@+id/buttons_panel" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" - android:orientation="horizontal"> - <Button - android:id="@+id/launch_button" + android:orientation="horizontal" + style="@android:style/ButtonBar" + > + <Button android:id="@+id/launch_button" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" android:text="@string/launch" - 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/done_button" android:layout_width="0dip" android:layout_height="wrap_content" - android:visibility="gone" - android:layout_weight="0.2" /> - <Button - android:id="@+id/done_button" - android:layout_width="150dip" - android:paddingRight="6dip" - android:layout_gravity="right" + android:layout_weight="1" android:text="@string/done" - android:layout_weight="0.4" - android:layout_height="wrap_content"/> + /> </LinearLayout> </RelativeLayout> </ScrollView> |