Fix 4686480: Update ChooseLockPatternTutorial
- Shorten description string to fit on one page - Use new scalable LockPatternView to show example pattern. Change-Id: I1204b6de9da05d9d3f4e503bec2fc4fb3034a4b3
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
android:orientation="vertical"
|
||||
android:padding="5dip">
|
||||
|
||||
<!-- Top: instructions -->
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -40,26 +41,27 @@
|
||||
android:text="@string/lock_title"
|
||||
android:paddingBottom="10dip"
|
||||
style="?android:attr/textAppearanceLarge"
|
||||
android:visibility="visible"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textSize="18sp"
|
||||
android:text="@string/lock_intro_message"
|
||||
/>
|
||||
|
||||
<!-- bottom: lock pattern -->
|
||||
<com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
|
||||
android:layout_width="200dip"
|
||||
android:layout_height="200dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:layout_gravity="left"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
<!-- bottom: lock pattern. Note the size is match_parent in both axis since requested aspect
|
||||
is square and the pattern view will choose the smaller of the two. -->
|
||||
<com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<LinearLayout
|
||||
style="@style/SecurityPreferenceButtonContainer"
|
||||
android:orientation="horizontal">
|
||||
|
||||
Reference in New Issue
Block a user