From 9fb403beef24339913ce0e0d545a83fd102caf5b Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Mon, 10 Jan 2011 11:38:08 -0800 Subject: Change theme to DialogWhenLarge Fix some layouts to correctly display as dialogs when using a large screen device. Still needs the WeightedLinearLayout trick. Bug: 3298362 Change-Id: I76ad192ca8c27a0d9f4ce106dc4e1e922c01c02b --- res/layout/install_confirm.xml | 136 ++++++++++++++++++++++++-------------- res/layout/op_progress.xml | 87 ++++++++++++++++-------- res/layout/uninstall_confirm.xml | 80 +++++++++++++++------- res/layout/uninstall_progress.xml | 89 +++++++++++++++---------- res/values/styles.xml | 22 ++++++ 5 files changed, 276 insertions(+), 138 deletions(-) create mode 100755 res/values/styles.xml (limited to 'res') diff --git a/res/layout/install_confirm.xml b/res/layout/install_confirm.xml index 268a744e..026116c1 100755 --- a/res/layout/install_confirm.xml +++ b/res/layout/install_confirm.xml @@ -22,73 +22,107 @@ --> + xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/padded" + android:orientation="vertical" + android:layout_weight="1" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + android:id="@+id/install_confirm_question" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/install_confirm_question" + android:textAppearance="?android:attr/textAppearanceMedium" + android:paddingTop="16dip" + android:paddingLeft="16dip" + android:paddingBottom="16dip"/> + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:fillViewport="true" + android:layout_weight="1"> - + android:layout_marginRight = "2dip" + android:orientation="vertical"> + + android:id="@+id/security_settings_list" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1.0" + android:orientation="vertical"/> -