diff options
author | Jim Miller <jaggies@google.com> | 2012-04-06 18:01:46 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2012-05-14 19:37:29 -0700 |
commit | 7434a5fbdd5484366a16ec4c15b8374f63236782 (patch) | |
tree | 72bdeec03305354594a392867703c13c43e06056 /res/layout-land | |
parent | 97bbb5332414be257678476cf037e396c0b88c17 (diff) | |
download | packages_apps_Settings-7434a5fbdd5484366a16ec4c15b8374f63236782.zip packages_apps_Settings-7434a5fbdd5484366a16ec4c15b8374f63236782.tar.gz packages_apps_Settings-7434a5fbdd5484366a16ec4c15b8374f63236782.tar.bz2 |
Fix 6110711: Fix buttons on ChooseLockPattern for landscape layout
Change-Id: Ia4086dcc09ae609be85703ba0ea3f1d6ae13b01f
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/choose_lock_pattern.xml | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/res/layout-land/choose_lock_pattern.xml b/res/layout-land/choose_lock_pattern.xml index 588d8da..e178e7c 100644 --- a/res/layout-land/choose_lock_pattern.xml +++ b/res/layout-land/choose_lock_pattern.xml @@ -19,8 +19,7 @@ android:id="@+id/topLayout" android:orientation="horizontal" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/black"> + android:layout_height="match_parent"> <!-- left side: instructions and messages --> <LinearLayout @@ -43,38 +42,38 @@ android:layout_height="0dip" android:layout_weight="1.0"> - <!-- right / bottom button: confirm or ok --> - <Button android:id="@+id/footerRightButton" - android:layout_height="wrap_content" - android:layout_width="140dip" - android:layout_alignParentBottom="true" + <!-- confirm / restart buttons --> + <LinearLayout android:id="@+id/buttonContainer" + style="@style/SecurityPreferenceButtonContainer" android:layout_centerHorizontal="true" - android:ellipsize="marquee" - android:singleLine="true" - android:drawableRight="@drawable/ic_btn_next" - android:drawablePadding="3dip" - android:text="@string/lockpattern_confirm_button_text"/> + android:layout_alignParentBottom="true" + android:orientation="vertical"> + <!-- left / top button: skip, or re-try --> + <Button android:id="@+id/footerLeftButton" + style="@style/SecurityPreferenceButton" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/lockpattern_restart_button_text"/> - <!-- left / top button: skip, or re-try --> - <Button android:id="@+id/footerLeftButton" - android:layout_height="wrap_content" - android:layout_width="140dip" - android:layout_above="@id/footerRightButton" - android:layout_centerHorizontal="true" - android:ellipsize="marquee" - android:singleLine="true" - android:text="@string/lockpattern_restart_button_text"/> + <!-- right / bottom button: confirm or ok --> + <Button android:id="@+id/footerRightButton" + style="@style/SecurityPreferenceButton" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/lockpattern_confirm_button_text"/> + </LinearLayout> <!-- message above buttons --> <TextView android:id="@+id/footerText" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_above="@+id/footerLeftButton" + android:layout_above="@+id/buttonContainer" android:layout_centerHorizontal="true" android:layout_marginBottom="4dip" android:textSize="14sp"/> + </RelativeLayout> </LinearLayout> |