Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 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. |
| 16 | --> |
| 17 | |
Maurice Lam | dcf05e5 | 2015-05-20 20:00:36 -0700 | [diff] [blame] | 18 | <!-- Used in phone portrait and tablet, as referenced in alias.xml. --> |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 19 | <com.google.android.setupdesign.GlifLayout |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 21 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
pastychang | c3c5a5c | 2019-01-17 15:44:08 +0800 | [diff] [blame] | 22 | android:id="@+id/setup_wizard_layout" |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 23 | android:layout_width="match_parent" |
| 24 | android:layout_height="match_parent" |
Maurice Lam | 190ec1c | 2016-04-22 16:41:18 -0700 | [diff] [blame] | 25 | android:icon="@drawable/ic_lock" |
pastychang | 8d2dc16 | 2018-12-21 14:01:18 +0800 | [diff] [blame] | 26 | android:layout="@layout/sud_glif_blank_template" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 27 | settings:sucHeaderText="@string/lockpassword_choose_your_screen_lock_header"> |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 28 | |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 29 | <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient |
| 30 | android:id="@+id/topLayout" |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 31 | android:layout_width="match_parent" |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 32 | android:layout_height="match_parent" |
Maurice Lam | bdfc27f | 2017-02-21 18:24:39 -0800 | [diff] [blame] | 33 | android:clipChildren="false" |
| 34 | android:clipToPadding="false" |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 35 | android:orientation="vertical"> |
| 36 | |
Maurice Lam | 4853cce | 2017-05-15 12:20:17 -0700 | [diff] [blame] | 37 | <LinearLayout |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 38 | style="@style/SudGlifHeaderContainer" |
Maurice Lam | 4853cce | 2017-05-15 12:20:17 -0700 | [diff] [blame] | 39 | android:layout_width="match_parent" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:orientation="vertical"> |
| 42 | |
| 43 | <ImageView |
Maurice Lam | 9c2fae8 | 2019-03-26 18:50:21 -0700 | [diff] [blame] | 44 | android:id="@+id/sud_layout_icon" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 45 | style="@style/SudGlifIcon" |
Maurice Lam | 4853cce | 2017-05-15 12:20:17 -0700 | [diff] [blame] | 46 | android:layout_width="wrap_content" |
| 47 | android:layout_height="wrap_content" |
| 48 | android:src="@drawable/ic_lock" /> |
| 49 | |
| 50 | <TextView |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 51 | android:id="@+id/suc_layout_title" |
| 52 | style="@style/SudGlifHeaderTitle" |
Joshua Mccloskey | a1c13b9 | 2018-05-14 12:22:51 -0700 | [diff] [blame] | 53 | android:accessibilityLiveRegion="polite" |
Maurice Lam | 4853cce | 2017-05-15 12:20:17 -0700 | [diff] [blame] | 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="wrap_content" /> |
| 56 | |
| 57 | </LinearLayout> |
| 58 | |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 59 | <!-- takes up all space above button bar at bottom --> |
| 60 | <LinearLayout |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 61 | style="@style/SudContentFrame" |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 62 | android:layout_width="match_parent" |
| 63 | android:layout_height="0dip" |
| 64 | android:layout_weight="1" |
| 65 | android:gravity="center" |
Maurice Lam | bdfc27f | 2017-02-21 18:24:39 -0800 | [diff] [blame] | 66 | android:clipChildren="false" |
| 67 | android:clipToPadding="false" |
Maurice Lam | 7efcc35 | 2017-09-08 11:57:27 -0700 | [diff] [blame] | 68 | android:orientation="vertical" |
| 69 | android:paddingLeft="0dp" |
| 70 | android:paddingRight="0dp"> |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 71 | |
Maurice Lam | 7f5e196 | 2017-09-08 17:51:58 -0700 | [diff] [blame] | 72 | <TextView |
pastychang | fa68ec4 | 2019-04-12 16:22:17 +0800 | [diff] [blame] | 73 | android:id="@+id/sud_layout_description" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 74 | style="@style/SudDescription.Glif" |
Maurice Lam | 7f5e196 | 2017-09-08 17:51:58 -0700 | [diff] [blame] | 75 | android:layout_width="match_parent" |
| 76 | android:layout_height="wrap_content" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 77 | android:layout_marginHorizontal="?attr/sudMarginSides" |
Maurice Lam | 7f5e196 | 2017-09-08 17:51:58 -0700 | [diff] [blame] | 78 | android:minLines="2" /> |
| 79 | |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 80 | <TextView android:id="@+id/headerText" |
| 81 | android:layout_width="match_parent" |
Maurice Lam | 7b6791d | 2016-05-09 18:22:08 -0700 | [diff] [blame] | 82 | android:layout_height="wrap_content" |
Maurice Lam | 7b6791d | 2016-05-09 18:22:08 -0700 | [diff] [blame] | 83 | android:minLines="2" |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 84 | android:gravity="center" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 85 | android:paddingHorizontal="?attr/sudMarginSides" |
Jyun LuoLai | 11960ce | 2018-03-15 14:11:30 +0800 | [diff] [blame] | 86 | android:textSize="12sp" /> |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 87 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 88 | <com.google.android.setupdesign.view.FillContentLayout |
Maurice Lam | 7efcc35 | 2017-09-08 11:57:27 -0700 | [diff] [blame] | 89 | style="@style/LockPatternContainerStyle" |
| 90 | android:layout_width="wrap_content" |
| 91 | android:layout_height="0dp" |
| 92 | android:layout_weight="1"> |
| 93 | |
| 94 | <com.android.internal.widget.LockPatternView |
| 95 | android:id="@+id/lockPattern" |
| 96 | android:layout_width="match_parent" |
| 97 | android:layout_height="match_parent" |
| 98 | android:layout_gravity="center" /> |
| 99 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 100 | </com.google.android.setupdesign.view.FillContentLayout> |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 101 | |
| 102 | </LinearLayout> |
| 103 | |
Maurice Lam | a9a04ef | 2015-05-20 17:54:00 -0700 | [diff] [blame] | 104 | <TextView android:id="@+id/footerText" |
| 105 | android:layout_width="wrap_content" |
Maurice Lam | af103b4 | 2014-12-03 15:17:46 -0800 | [diff] [blame] | 106 | android:layout_height="wrap_content" |
Maurice Lam | a9a04ef | 2015-05-20 17:54:00 -0700 | [diff] [blame] | 107 | android:layout_gravity="center_horizontal" |
| 108 | android:minHeight="50dip" |
| 109 | android:textSize="14sp" |
| 110 | android:visibility="gone"/> |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 111 | |
Ajay Nadathur | a1314df | 2018-01-04 13:06:46 -0800 | [diff] [blame] | 112 | <Button |
| 113 | android:id="@+id/screen_lock_options" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 114 | style="@style/SudGlifButton.Tertiary" |
Ajay Nadathur | a1314df | 2018-01-04 13:06:46 -0800 | [diff] [blame] | 115 | android:layout_width="wrap_content" |
| 116 | android:layout_height="wrap_content" |
| 117 | android:text="@string/setup_lock_settings_options_button_label" |
| 118 | android:visibility="gone" /> |
| 119 | |
Maurice Lam | 83301b5 | 2015-04-18 20:11:59 -0700 | [diff] [blame] | 120 | </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient> |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 121 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 122 | </com.google.android.setupdesign.GlifLayout> |