1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2015 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
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    style="?attr/fingerprint_layout_theme"
22    android:id="@+id/setup_wizard_layout"
23    android:layout_width="match_parent"
24    android:layout_height="match_parent">
25
26    <LinearLayout
27        style="@style/SudContentFrame"
28        android:layout_width="match_parent"
29        android:layout_height="wrap_content"
30        android:clipChildren="false"
31        android:clipToPadding="false"
32        android:orientation="vertical">
33
34        <com.google.android.setupdesign.view.RichTextView
35            android:id="@+id/error_text"
36            style="@style/SudDescription.Glif"
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content" />
39
40        <FrameLayout
41            android:layout_width="match_parent"
42            android:layout_height="wrap_content">
43
44            <ImageView
45                style="@style/SudContentIllustration"
46                android:layout_width="match_parent"
47                android:layout_height="match_parent"
48                android:contentDescription="@null"
49                android:src="@drawable/fingerprint_enroll_introduction" />
50
51        </FrameLayout>
52
53        <!-- Contains the extra information text at the bottom -->
54        <LinearLayout
55            android:layout_width="match_parent"
56            android:layout_height="wrap_content"
57            android:orientation="vertical">
58
59            <!-- How it works -->
60            <TextView
61                android:layout_width="match_parent"
62                android:layout_height="wrap_content"
63                style="@style/BiometricEnrollIntroTitle"
64                android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" />
65
66            <LinearLayout
67                android:layout_width="match_parent"
68                android:layout_height="wrap_content"
69                android:orientation="horizontal">
70
71                <ImageView
72                    android:id="@+id/icon_fingerprint"
73                    android:layout_width="wrap_content"
74                    android:layout_height="wrap_content"
75                    android:contentDescription="@null"
76                    android:src="@drawable/ic_fingerprint_24dp"/>
77                <Space
78                    android:layout_width="16dp"
79                    android:layout_height="wrap_content"/>
80                <TextView
81                    android:id="@+id/footer_message_2"
82                    android:layout_width="match_parent"
83                    android:layout_height="wrap_content"
84                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_2"
85                    style="@style/BiometricEnrollIntroMessage" />
86            </LinearLayout>
87
88            <LinearLayout
89                android:layout_width="match_parent"
90                android:layout_height="wrap_content"
91                android:orientation="horizontal">
92
93                <ImageView
94                    android:id="@+id/icon_device_locked"
95                    android:layout_width="wrap_content"
96                    android:layout_height="wrap_content"
97                    android:contentDescription="@null"
98                    android:src="@drawable/ic_lock_24dp"/>
99                <Space
100                    android:layout_width="16dp"
101                    android:layout_height="wrap_content"/>
102                <TextView
103                    android:id="@+id/footer_message_3"
104                    android:layout_width="match_parent"
105                    android:layout_height="wrap_content"
106                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_3"
107                    style="@style/BiometricEnrollIntroMessage" />
108            </LinearLayout>
109
110            <!-- You're in control -->
111            <TextView
112                android:id="@+id/footer_title_1"
113                android:layout_width="match_parent"
114                android:layout_height="wrap_content"
115                android:text="@string/security_settings_fingerprint_enroll_introduction_footer_title_1"
116                style="@style/BiometricEnrollIntroTitle" />
117
118            <LinearLayout
119                android:layout_width="match_parent"
120                android:layout_height="wrap_content"
121                android:orientation="horizontal">
122
123                <ImageView
124                    android:id="@+id/icon_trash_can"
125                    android:layout_width="wrap_content"
126                    android:layout_height="wrap_content"
127                    android:contentDescription="@null"
128                    android:src="@drawable/ic_trash_can"/>
129                <Space
130                    android:layout_width="16dp"
131                    android:layout_height="wrap_content"/>
132                <TextView
133                    android:id="@+id/footer_message_4"
134                    android:layout_width="match_parent"
135                    android:layout_height="wrap_content"
136                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_4"
137                    style="@style/BiometricEnrollIntroMessage" />
138            </LinearLayout>
139
140            <!-- Keep in mind -->
141            <TextView
142                android:id="@+id/footer_title_2"
143                android:layout_width="match_parent"
144                android:layout_height="wrap_content"
145                style="@style/BiometricEnrollIntroTitle"
146                android:text="@string/security_settings_fingerprint_enroll_introduction_footer_title_2"/>
147
148            <LinearLayout
149                android:layout_width="match_parent"
150                android:layout_height="wrap_content"
151                android:orientation="horizontal">
152
153                <ImageView
154                    android:id="@+id/icon_info"
155                    android:layout_width="wrap_content"
156                    android:layout_height="wrap_content"
157                    android:contentDescription="@null"
158                    android:src="@drawable/ic_info_outline_24dp"/>
159                <Space
160                    android:layout_width="16dp"
161                    android:layout_height="wrap_content"/>
162                <TextView
163                    android:id="@+id/footer_message_5"
164                    android:layout_width="match_parent"
165                    android:layout_height="wrap_content"
166                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_5"
167                    style="@style/BiometricEnrollIntroMessage" />
168            </LinearLayout>
169
170            <LinearLayout
171                android:layout_width="match_parent"
172                android:layout_height="wrap_content"
173                android:orientation="horizontal">
174
175                <ImageView
176                    android:id="@+id/icon_shield"
177                    android:layout_width="wrap_content"
178                    android:layout_height="wrap_content"
179                    android:contentDescription="@null"
180                    android:src="@drawable/ic_guarantee"/>
181                <Space
182                    android:layout_width="16dp"
183                    android:layout_height="wrap_content"/>
184                <TextView
185                    android:id="@+id/footer_message_6"
186                    android:layout_width="match_parent"
187                    android:layout_height="wrap_content"
188                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_message_6"
189                    style="@style/BiometricEnrollIntroMessage" />
190            </LinearLayout>
191
192            <LinearLayout
193                android:layout_width="match_parent"
194                android:layout_height="wrap_content"
195                android:orientation="horizontal">
196
197                <ImageView
198                    android:id="@+id/icon_link"
199                    android:layout_width="wrap_content"
200                    android:layout_height="wrap_content"
201                    android:contentDescription="@null"
202                    android:src="@drawable/ic_link_24dp"/>
203                <Space
204                    android:layout_width="16dp"
205                    android:layout_height="wrap_content"/>
206                <TextView
207                    android:id="@+id/footer_learn_more"
208                    android:linksClickable="true"
209                    android:layout_width="match_parent"
210                    android:layout_height="wrap_content"
211                    style="@style/BiometricEnrollIntroMessage"
212                    android:paddingBottom="0dp"
213                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" />
214            </LinearLayout>
215
216        </LinearLayout>
217
218    </LinearLayout>
219
220</com.google.android.setupdesign.GlifLayout>
221