Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 3 | ~ Copyright (C) 2019 The Android Open Source Project |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 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 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 18 | <com.google.android.setupdesign.GlifLayout |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | xmlns:app="http://schemas.android.com/apk/res-auto" |
Kevin Chyn | 2c8d775 | 2018-12-17 12:26:30 -0800 | [diff] [blame] | 21 | xmlns:FaceEnrollAccessibilitySwitch="http://schemas.android.com/apk/res/com.android.settings" |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 22 | style="?attr/face_layout_theme" |
| 23 | android:id="@+id/setup_wizard_layout" |
| 24 | android:layout_width="match_parent" |
pastychang | 1b16668 | 2018-12-18 10:53:34 +0800 | [diff] [blame] | 25 | android:layout_height="match_parent"> |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 26 | |
| 27 | <LinearLayout |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 28 | style="@style/SudContentFrame" |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 30 | android:layout_height="match_parent" |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 31 | android:clipChildren="false" |
| 32 | android:clipToPadding="false" |
| 33 | android:orientation="vertical"> |
| 34 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 35 | <com.google.android.setupdesign.view.RichTextView |
pastychang | fa68ec4 | 2019-04-12 16:22:17 +0800 | [diff] [blame] | 36 | android:id="@+id/sud_layout_description" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 37 | style="@style/SudDescription.Glif" |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="wrap_content" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 40 | android:text="@string/security_settings_face_enroll_introduction_message"/> |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 41 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 42 | <com.google.android.setupdesign.view.RichTextView |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 43 | android:id="@+id/error_text" |
pastychang | 7961482 | 2019-01-03 10:12:54 +0800 | [diff] [blame] | 44 | style="@style/SudDescription.Glif" |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 45 | android:layout_width="match_parent" |
joshmccloskey | fe6784b | 2019-05-09 16:01:13 -0700 | [diff] [blame] | 46 | android:layout_height="wrap_content" |
| 47 | android:visibility="gone"/> |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 48 | |
Kevin Chyn | 2c8d775 | 2018-12-17 12:26:30 -0800 | [diff] [blame] | 49 | <FrameLayout |
| 50 | android:layout_width="match_parent" |
Kevin Chyn | c5ae8a7 | 2019-04-18 16:34:37 -0700 | [diff] [blame] | 51 | android:layout_height="wrap_content" |
joshmccloskey | fe6784b | 2019-05-09 16:01:13 -0700 | [diff] [blame] | 52 | android:layout_marginVertical="12dp"> |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 53 | |
| 54 | <com.google.android.setupdesign.view.IllustrationVideoView |
| 55 | android:id="@+id/illustration_normal" |
Kevin Chyn | 2c8d775 | 2018-12-17 12:26:30 -0800 | [diff] [blame] | 56 | android:layout_width="wrap_content" |
| 57 | android:layout_height="wrap_content" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 58 | style="@style/SudContentIllustration" |
Kevin Chyn | 8737949 | 2019-05-16 17:06:37 -0700 | [diff] [blame] | 59 | app:sudVideo="@raw/face_settings"/> |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 60 | |
| 61 | </FrameLayout> |
| 62 | |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 63 | <!-- Contains the buttons and extra information text at the bottom --> |
| 64 | <LinearLayout |
| 65 | android:layout_width="match_parent" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:orientation="vertical" |
joshmccloskey | c71dd8f | 2019-05-21 15:34:22 -0700 | [diff] [blame] | 68 | android:layout_gravity="center_horizontal|bottom" |
| 69 | android:paddingTop="12dp"> |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 70 | |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 71 | <LinearLayout |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 72 | android:layout_width="match_parent" |
| 73 | android:layout_height="wrap_content" |
joshmccloskey | fe6784b | 2019-05-09 16:01:13 -0700 | [diff] [blame] | 74 | android:orientation="horizontal"> |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 75 | |
| 76 | <ImageView |
| 77 | android:layout_width="wrap_content" |
| 78 | android:layout_height="wrap_content" |
joshmccloskey | 8fd6269 | 2019-05-15 18:29:50 -0700 | [diff] [blame] | 79 | android:background="@drawable/ic_info_outline_24dp"> |
| 80 | </ImageView> |
| 81 | <Space |
| 82 | android:layout_width="24dp" |
| 83 | android:layout_height="wrap_content"/> |
| 84 | <TextView |
| 85 | android:layout_width="match_parent" |
| 86 | android:layout_height="wrap_content" |
| 87 | android:text="@string/security_settings_face_enroll_introduction_footer_part_0"/> |
| 88 | |
| 89 | </LinearLayout> |
| 90 | |
| 91 | <LinearLayout |
| 92 | android:layout_width="match_parent" |
| 93 | android:layout_height="wrap_content" |
| 94 | android:orientation="horizontal" |
| 95 | android:paddingTop="24dp"> |
| 96 | |
| 97 | <ImageView |
| 98 | android:layout_width="wrap_content" |
| 99 | android:layout_height="wrap_content" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 100 | android:background="@drawable/ic_face_enroll_introduction_shield"> |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 101 | </ImageView> |
| 102 | <Space |
joshmccloskey | fe6784b | 2019-05-09 16:01:13 -0700 | [diff] [blame] | 103 | android:layout_width="24dp" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 104 | android:layout_height="wrap_content"/> |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 105 | <TextView |
| 106 | android:layout_width="match_parent" |
| 107 | android:layout_height="wrap_content" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 108 | android:text="@string/security_settings_face_enroll_introduction_footer_part_1"/> |
| 109 | |
| 110 | </LinearLayout> |
| 111 | |
| 112 | <LinearLayout |
| 113 | android:layout_width="match_parent" |
| 114 | android:layout_height="wrap_content" |
| 115 | android:orientation="horizontal" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 116 | android:paddingTop="24dp"> |
| 117 | |
| 118 | <ImageView |
| 119 | android:layout_width="wrap_content" |
| 120 | android:layout_height="wrap_content" |
| 121 | android:background="@drawable/ic_face_enroll_introduction_visibility"> |
| 122 | </ImageView> |
| 123 | <Space |
joshmccloskey | fe6784b | 2019-05-09 16:01:13 -0700 | [diff] [blame] | 124 | android:layout_width="24dp" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 125 | android:layout_height="wrap_content"/> |
| 126 | <TextView |
Kevin Chyn | 15f241b | 2019-12-16 14:26:49 -0800 | [diff] [blame] | 127 | android:id="@+id/face_enroll_introduction_footer_part_2" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 128 | android:layout_width="match_parent" |
Kevin Chyn | 15f241b | 2019-12-16 14:26:49 -0800 | [diff] [blame] | 129 | android:layout_height="wrap_content"/> |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 130 | |
| 131 | </LinearLayout> |
| 132 | |
| 133 | <LinearLayout |
| 134 | android:layout_width="match_parent" |
| 135 | android:layout_height="wrap_content" |
| 136 | android:orientation="horizontal" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 137 | android:paddingTop="24dp"> |
| 138 | |
| 139 | <ImageView |
| 140 | android:layout_width="wrap_content" |
| 141 | android:layout_height="wrap_content" |
| 142 | android:background="@drawable/ic_face_enroll_introduction_people"> |
| 143 | </ImageView> |
| 144 | <Space |
joshmccloskey | fe6784b | 2019-05-09 16:01:13 -0700 | [diff] [blame] | 145 | android:layout_width="24dp" |
joshmccloskey | ac653b9 | 2019-05-06 15:11:34 -0700 | [diff] [blame] | 146 | android:layout_height="wrap_content"/> |
| 147 | <TextView |
| 148 | android:layout_width="match_parent" |
| 149 | android:layout_height="wrap_content" |
| 150 | android:text="@string/security_settings_face_enroll_introduction_footer_part_3"/> |
Kevin Chyn | 2c8d775 | 2018-12-17 12:26:30 -0800 | [diff] [blame] | 151 | </LinearLayout> |
Kevin Chyn | f25830b | 2019-03-18 17:38:12 -0700 | [diff] [blame] | 152 | |
| 153 | </LinearLayout> |
Kevin Chyn | 2c8d775 | 2018-12-17 12:26:30 -0800 | [diff] [blame] | 154 | |
Kevin Chyn | 4882e87 | 2018-06-25 17:58:31 -0700 | [diff] [blame] | 155 | </LinearLayout> |
| 156 | |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 157 | </com.google.android.setupdesign.GlifLayout> |