summaryrefslogtreecommitdiffstats
path: root/res/layout/choose_lock_pattern.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/choose_lock_pattern.xml')
-rw-r--r--res/layout/choose_lock_pattern.xml37
1 files changed, 12 insertions, 25 deletions
diff --git a/res/layout/choose_lock_pattern.xml b/res/layout/choose_lock_pattern.xml
index 97c647f..a356315 100644
--- a/res/layout/choose_lock_pattern.xml
+++ b/res/layout/choose_lock_pattern.xml
@@ -39,9 +39,10 @@
android:background="@*android:drawable/code_lock_top"
android:layout_width="match_parent"
android:layout_height="2dip" />
+
<com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
<!-- bottom line looks bad when button bar is their too, omit in this case -->
<!--View
@@ -58,33 +59,19 @@
</LinearLayout>
+ <LinearLayout
+ style="@style/SecurityPreferenceButtonContainer"
+ android:orientation="horizontal">
- <LinearLayout style="@android:style/ButtonBar"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
-
+ <!-- left : cancel, or re-try -->
<Button android:id="@+id/footerLeftButton"
- android:layout_height="wrap_content"
- android:layout_width="140dip"
- android:ellipsize="marquee"
- android:singleLine="true"
- android:text="@string/lockpattern_restart_button_text"/>
-
- <View
- android:visibility="invisible"
- android:layout_height="0dip"
- android:layout_width="1dip"
- android:layout_weight="1" />
+ style="@style/SecurityPreferenceButton"
+ android:text="@string/lockpattern_tutorial_cancel_label"/>
+ <!-- right : confirm or ok -->
<Button android:id="@+id/footerRightButton"
- android:layout_height="wrap_content"
- android:layout_width="140dip"
- android:ellipsize="marquee"
- android:singleLine="true"
- android:drawableRight="@drawable/ic_btn_next"
- android:drawablePadding="3dip"
- android:text="@string/lockpattern_confirm_button_text"/>
+ style="@style/SecurityPreferenceButton"
+ android:text="@string/lockpattern_tutorial_continue_label"/>
</LinearLayout>