Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 3 | Copyright (C) 2014 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License") |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
Jim Miller | 00d2476 | 2009-12-22 19:04:57 -0800 | [diff] [blame] | 16 | --> |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 17 | <com.google.android.setupdesign.GlifLayout |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
pastychang | 76ad11c | 2019-01-18 14:28:27 +0800 | [diff] [blame] | 20 | android:id="@+id/setup_wizard_layout" |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" |
| 23 | android:icon="@drawable/ic_lock" |
Fan Zhang | 014ed74 | 2018-04-17 13:33:41 -0700 | [diff] [blame] | 24 | android:importantForAutofill="noExcludeDescendants" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 25 | settings:sucHeaderText="@string/lockpassword_choose_your_screen_lock_header"> |
Jim Miller | 2f9dbcb | 2010-02-09 19:08:02 -0800 | [diff] [blame] | 26 | |
Jim Miller | 30cf12c | 2011-03-30 21:16:48 -0700 | [diff] [blame] | 27 | <LinearLayout |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 28 | style="@style/SudContentFrame" |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="match_parent" |
Maurice Lam | bdfc27f | 2017-02-21 18:24:39 -0800 | [diff] [blame] | 31 | android:clipChildren="false" |
| 32 | android:clipToPadding="false" |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 33 | android:gravity="center_horizontal" |
| 34 | android:orientation="vertical"> |
Jim Miller | 30cf12c | 2011-03-30 21:16:48 -0700 | [diff] [blame] | 35 | |
Maurice Lam | d793590 | 2017-06-21 17:09:33 -0700 | [diff] [blame] | 36 | <TextView |
pastychang | fa68ec4 | 2019-04-12 16:22:17 +0800 | [diff] [blame] | 37 | android:id="@+id/sud_layout_description" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 38 | style="@style/SudDescription.Glif" |
Maurice Lam | d793590 | 2017-06-21 17:09:33 -0700 | [diff] [blame] | 39 | android:layout_width="match_parent" |
| 40 | android:layout_height="wrap_content" |
Maurice Lam | 3eb4c83 | 2017-08-02 20:11:28 -0700 | [diff] [blame] | 41 | android:minLines="2"/> |
Maurice Lam | d793590 | 2017-06-21 17:09:33 -0700 | [diff] [blame] | 42 | |
Maurice Lam | c41e408 | 2017-04-27 19:04:46 -0700 | [diff] [blame] | 43 | <LinearLayout |
Maurice Lam | edb3944 | 2017-04-27 18:54:33 -0700 | [diff] [blame] | 44 | android:id="@+id/password_container" |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 45 | android:layout_width="match_parent" |
| 46 | android:layout_height="wrap_content" |
Maurice Lam | 8df7173 | 2017-05-18 20:42:58 -0700 | [diff] [blame] | 47 | android:layout_marginTop="16dp" |
Maurice Lam | c41e408 | 2017-04-27 19:04:46 -0700 | [diff] [blame] | 48 | android:clipChildren="false" |
| 49 | android:clipToPadding="false" |
| 50 | android:orientation="vertical" |
Maurice Lam | edb3944 | 2017-04-27 18:54:33 -0700 | [diff] [blame] | 51 | android:layoutMode="opticalBounds" |
Maurice Lam | c41e408 | 2017-04-27 19:04:46 -0700 | [diff] [blame] | 52 | android:paddingBottom="8dp"> |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 53 | |
Maurice Lam | c41e408 | 2017-04-27 19:04:46 -0700 | [diff] [blame] | 54 | <!-- Password entry field --> |
| 55 | <com.android.settings.widget.ScrollToParentEditText |
| 56 | android:id="@+id/password_entry" |
Tony Mak | 0bbcdcc | 2016-07-12 11:19:45 +0100 | [diff] [blame] | 57 | android:layout_width="match_parent" |
Maurice Lam | c41e408 | 2017-04-27 19:04:46 -0700 | [diff] [blame] | 58 | android:layout_height="wrap_content" |
| 59 | android:layout_gravity="center" |
| 60 | android:gravity="center" |
| 61 | android:inputType="textPassword" |
| 62 | android:imeOptions="actionNext|flagNoExtractUi|flagForceAscii" |
Maurice Lam | c41e408 | 2017-04-27 19:04:46 -0700 | [diff] [blame] | 63 | style="@style/TextAppearance.PasswordEntry"/> |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 64 | |
Aurimas Liutikas | e0069d3 | 2018-04-17 11:22:43 -0700 | [diff] [blame] | 65 | <androidx.recyclerview.widget.RecyclerView |
Raff Tsai | e8bd78e | 2019-07-05 10:56:15 +0800 | [diff] [blame] | 66 | android:layout_marginTop="8dp" |
Maurice Lam | c41e408 | 2017-04-27 19:04:46 -0700 | [diff] [blame] | 67 | android:id="@+id/password_requirements_view" |
| 68 | android:layout_width="match_parent" |
| 69 | android:layout_height="wrap_content"/> |
Tony Mak | 0bbcdcc | 2016-07-12 11:19:45 +0100 | [diff] [blame] | 70 | |
Maurice Lam | d189ac5 | 2016-06-15 13:39:34 -0700 | [diff] [blame] | 71 | </LinearLayout> |
Maurice Lam | edb3944 | 2017-04-27 18:54:33 -0700 | [diff] [blame] | 72 | |
| 73 | <Button |
| 74 | android:id="@+id/screen_lock_options" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 75 | style="@style/SudGlifButton.Tertiary" |
Maurice Lam | edb3944 | 2017-04-27 18:54:33 -0700 | [diff] [blame] | 76 | android:layout_width="wrap_content" |
| 77 | android:layout_height="wrap_content" |
| 78 | android:text="@string/setup_lock_settings_options_button_label" |
| 79 | android:visibility="gone" /> |
| 80 | |
Jim Miller | 30cf12c | 2011-03-30 21:16:48 -0700 | [diff] [blame] | 81 | </LinearLayout> |
| 82 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 83 | </com.google.android.setupdesign.GlifLayout> |