blob: 39145518018a698c8868b56bb9cf338f3587d2d4 [file] [log] [blame]
Jim Miller00d24762009-12-22 19:04:57 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
Maurice Lamd189ac52016-06-15 13:39:34 -07003 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 Miller00d24762009-12-22 19:04:57 -080016-->
Pasty Changc1f86002018-12-11 02:22:55 +000017<com.google.android.setupdesign.GlifLayout
Maurice Lamd189ac52016-06-15 13:39:34 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res-auto"
pastychang76ad11c2019-01-18 14:28:27 +080020 android:id="@+id/setup_wizard_layout"
Maurice Lamd189ac52016-06-15 13:39:34 -070021 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:icon="@drawable/ic_lock"
Fan Zhang014ed742018-04-17 13:33:41 -070024 android:importantForAutofill="noExcludeDescendants"
pastychang79614822019-01-03 10:12:54 +080025 settings:sucHeaderText="@string/lockpassword_choose_your_screen_lock_header">
Jim Miller2f9dbcb2010-02-09 19:08:02 -080026
Jim Miller30cf12c2011-03-30 21:16:48 -070027 <LinearLayout
pastychang79614822019-01-03 10:12:54 +080028 style="@style/SudContentFrame"
Maurice Lamd189ac52016-06-15 13:39:34 -070029 android:layout_width="match_parent"
30 android:layout_height="match_parent"
Maurice Lambdfc27f2017-02-21 18:24:39 -080031 android:clipChildren="false"
32 android:clipToPadding="false"
Maurice Lamd189ac52016-06-15 13:39:34 -070033 android:gravity="center_horizontal"
34 android:orientation="vertical">
Jim Miller30cf12c2011-03-30 21:16:48 -070035
Maurice Lamd7935902017-06-21 17:09:33 -070036 <TextView
pastychangfa68ec42019-04-12 16:22:17 +080037 android:id="@+id/sud_layout_description"
pastychang79614822019-01-03 10:12:54 +080038 style="@style/SudDescription.Glif"
Maurice Lamd7935902017-06-21 17:09:33 -070039 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
Maurice Lam3eb4c832017-08-02 20:11:28 -070041 android:minLines="2"/>
Maurice Lamd7935902017-06-21 17:09:33 -070042
Maurice Lamc41e4082017-04-27 19:04:46 -070043 <LinearLayout
Maurice Lamedb39442017-04-27 18:54:33 -070044 android:id="@+id/password_container"
Maurice Lamd189ac52016-06-15 13:39:34 -070045 android:layout_width="match_parent"
46 android:layout_height="wrap_content"
Maurice Lam8df71732017-05-18 20:42:58 -070047 android:layout_marginTop="16dp"
Maurice Lamc41e4082017-04-27 19:04:46 -070048 android:clipChildren="false"
49 android:clipToPadding="false"
50 android:orientation="vertical"
Maurice Lamedb39442017-04-27 18:54:33 -070051 android:layoutMode="opticalBounds"
Maurice Lamc41e4082017-04-27 19:04:46 -070052 android:paddingBottom="8dp">
Maurice Lamd189ac52016-06-15 13:39:34 -070053
Maurice Lamc41e4082017-04-27 19:04:46 -070054 <!-- Password entry field -->
55 <com.android.settings.widget.ScrollToParentEditText
56 android:id="@+id/password_entry"
Tony Mak0bbcdcc2016-07-12 11:19:45 +010057 android:layout_width="match_parent"
Maurice Lamc41e4082017-04-27 19:04:46 -070058 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 Lamc41e4082017-04-27 19:04:46 -070063 style="@style/TextAppearance.PasswordEntry"/>
Maurice Lamd189ac52016-06-15 13:39:34 -070064
Aurimas Liutikase0069d32018-04-17 11:22:43 -070065 <androidx.recyclerview.widget.RecyclerView
Raff Tsaie8bd78e2019-07-05 10:56:15 +080066 android:layout_marginTop="8dp"
Maurice Lamc41e4082017-04-27 19:04:46 -070067 android:id="@+id/password_requirements_view"
68 android:layout_width="match_parent"
69 android:layout_height="wrap_content"/>
Tony Mak0bbcdcc2016-07-12 11:19:45 +010070
Maurice Lamd189ac52016-06-15 13:39:34 -070071 </LinearLayout>
Maurice Lamedb39442017-04-27 18:54:33 -070072
73 <Button
74 android:id="@+id/screen_lock_options"
pastychang79614822019-01-03 10:12:54 +080075 style="@style/SudGlifButton.Tertiary"
Maurice Lamedb39442017-04-27 18:54:33 -070076 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 Miller30cf12c2011-03-30 21:16:48 -070081 </LinearLayout>
82
Pasty Changc1f86002018-12-11 02:22:55 +000083</com.google.android.setupdesign.GlifLayout>