1 <?xml version="1.0" encoding="utf-8"?>
3 ~ Copyright (C) 2019 The Android Open Source Project
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
9 ~ http://www.apache.org/licenses/LICENSE-2.0
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
18 <com.google.android.setupdesign.GlifLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:app="http://schemas.android.com/apk/res-auto"
21 xmlns:FaceEnrollAccessibilitySwitch="http://schemas.android.com/apk/res/com.android.settings"
22 style="?attr/face_layout_theme"
23 android:id="@+id/setup_wizard_layout"
24 android:layout_width="match_parent"
25 android:layout_height="match_parent">
28 style="@style/SudContentFrame"
29 android:layout_width="match_parent"
30 android:layout_height="match_parent"
31 android:clipChildren="false"
32 android:clipToPadding="false"
33 android:orientation="vertical">
35 <com.google.android.setupdesign.view.RichTextView
36 android:id="@+id/sud_layout_description"
37 style="@style/SudDescription.Glif"
38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:text="@string/security_settings_face_enroll_introduction_message"/>
42 <com.google.android.setupdesign.view.RichTextView
43 android:id="@+id/error_text"
44 style="@style/SudDescription.Glif"
45 android:layout_width="match_parent"
46 android:layout_height="wrap_content"/>
49 android:layout_width="match_parent"
50 android:layout_height="wrap_content"
51 android:layout_marginVertical="48dp">
53 <com.google.android.setupdesign.view.IllustrationVideoView
54 android:id="@+id/illustration_normal"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 style="@style/SudContentIllustration"
58 app:sudVideo="@raw/face_enroll_introduction_animation"/>
62 <!-- Contains the buttons and extra information text at the bottom -->
64 android:layout_width="match_parent"
65 android:layout_height="wrap_content"
66 android:orientation="vertical"
67 android:layout_gravity="center_horizontal|bottom">
70 android:layout_width="match_parent"
71 android:layout_height="wrap_content"
72 android:orientation="horizontal"
73 android:paddingStart="16dp"
74 android:paddingEnd="16dp"
75 android:paddingTop="24dp">
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:background="@drawable/ic_face_enroll_introduction_shield">
83 android:layout_width="8dp"
84 android:layout_height="wrap_content"/>
86 android:layout_width="match_parent"
87 android:layout_height="wrap_content"
88 android:text="@string/security_settings_face_enroll_introduction_footer_part_1"/>
93 android:layout_width="match_parent"
94 android:layout_height="wrap_content"
95 android:orientation="horizontal"
96 android:paddingStart="16dp"
97 android:paddingEnd="16dp"
98 android:paddingTop="24dp">
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:background="@drawable/ic_face_enroll_introduction_visibility">
106 android:layout_width="8dp"
107 android:layout_height="wrap_content"/>
109 android:layout_width="match_parent"
110 android:layout_height="wrap_content"
111 android:text="@string/security_settings_face_enroll_introduction_footer_part_2"/>
116 android:layout_width="match_parent"
117 android:layout_height="wrap_content"
118 android:orientation="horizontal"
119 android:paddingStart="16dp"
120 android:paddingEnd="16dp"
121 android:paddingTop="24dp">
124 android:layout_width="wrap_content"
125 android:layout_height="wrap_content"
126 android:background="@drawable/ic_face_enroll_introduction_people">
129 android:layout_width="8dp"
130 android:layout_height="wrap_content"/>
132 android:layout_width="match_parent"
133 android:layout_height="wrap_content"
134 android:text="@string/security_settings_face_enroll_introduction_footer_part_3"/>
141 </com.google.android.setupdesign.GlifLayout>