• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    app:sudDescriptionText="@string/security_settings_fingerprint_enroll_introduction_v2_message">
26
27    <LinearLayout
28        style="@style/SudContentFrame"
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:clipChildren="false"
32        android:clipToPadding="false"
33        android:orientation="vertical">
34
35        <com.google.android.setupdesign.view.RichTextView
36            android:id="@+id/error_text"
37            style="@style/SudDescription.Glif"
38            android:layout_width="match_parent"
39            android:layout_height="wrap_content" />
40
41        <FrameLayout
42            android:layout_width="match_parent"
43            android:layout_height="wrap_content">
44
45            <ImageView
46                style="@style/SudContentIllustration"
47                android:layout_width="match_parent"
48                android:layout_height="match_parent"
49                android:contentDescription="@null"
50                android:src="@drawable/fingerprint_enroll_introduction" />
51
52        </FrameLayout>
53
54        <!-- Contains the extra information text at the bottom -->
55        <LinearLayout
56            android:layout_width="match_parent"
57            android:layout_height="wrap_content"
58            android:orientation="vertical">
59
60            <!-- How it works -->
61            <TextView
62                android:layout_width="match_parent"
63                android:layout_height="wrap_content"
64                style="@style/BiometricEnrollIntroTitle"
65                android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" />
66
67            <LinearLayout
68                android:layout_width="match_parent"
69                android:layout_height="wrap_content"
70                android:orientation="horizontal">
71
72                <ImageView
73                    android:id="@+id/icon_fingerprint"
74                    android:layout_width="wrap_content"
75                    android:layout_height="wrap_content"
76                    android:contentDescription="@null"
77                    android:src="@drawable/ic_fingerprint_24dp"/>
78                <Space
79                    android:layout_width="16dp"
80                    android:layout_height="wrap_content"/>
81                <TextView
82                    android:id="@+id/footer_message_2"
83                    android:layout_width="match_parent"
84                    android:layout_height="wrap_content"
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                    style="@style/BiometricEnrollIntroMessage" />
107            </LinearLayout>
108
109            <!-- You're in control -->
110            <TextView
111                android:id="@+id/footer_title_1"
112                android:layout_width="match_parent"
113                android:layout_height="wrap_content"
114                style="@style/BiometricEnrollIntroTitle" />
115
116            <LinearLayout
117                android:layout_width="match_parent"
118                android:layout_height="wrap_content"
119                android:orientation="horizontal">
120
121                <ImageView
122                    android:id="@+id/icon_trash_can"
123                    android:layout_width="wrap_content"
124                    android:layout_height="wrap_content"
125                    android:contentDescription="@null"
126                    android:src="@drawable/ic_trash_can"/>
127                <Space
128                    android:layout_width="16dp"
129                    android:layout_height="wrap_content"/>
130                <TextView
131                    android:id="@+id/footer_message_4"
132                    android:layout_width="match_parent"
133                    android:layout_height="wrap_content"
134                    style="@style/BiometricEnrollIntroMessage" />
135            </LinearLayout>
136
137            <!-- Keep in mind -->
138            <TextView
139                android:id="@+id/footer_title_2"
140                android:layout_width="match_parent"
141                android:layout_height="wrap_content"
142                style="@style/BiometricEnrollIntroTitle"
143                android:text="@string/security_settings_face_enroll_introduction_info_title"/>
144
145            <LinearLayout
146                android:layout_width="match_parent"
147                android:layout_height="wrap_content"
148                android:orientation="horizontal">
149
150                <ImageView
151                    android:id="@+id/icon_info"
152                    android:layout_width="wrap_content"
153                    android:layout_height="wrap_content"
154                    android:contentDescription="@null"
155                    android:src="@drawable/ic_info_outline_24dp"/>
156                <Space
157                    android:layout_width="16dp"
158                    android:layout_height="wrap_content"/>
159                <TextView
160                    android:id="@+id/footer_message_5"
161                    android:layout_width="match_parent"
162                    android:layout_height="wrap_content"
163                    style="@style/BiometricEnrollIntroMessage" />
164            </LinearLayout>
165
166            <LinearLayout
167                android:layout_width="match_parent"
168                android:layout_height="wrap_content"
169                android:orientation="horizontal">
170
171                <ImageView
172                    android:id="@+id/icon_shield"
173                    android:layout_width="wrap_content"
174                    android:layout_height="wrap_content"
175                    android:contentDescription="@null"
176                    android:src="@drawable/ic_guarantee"/>
177                <Space
178                    android:layout_width="16dp"
179                    android:layout_height="wrap_content"/>
180                <TextView
181                    android:id="@+id/footer_message_6"
182                    android:layout_width="match_parent"
183                    android:layout_height="wrap_content"
184                    style="@style/BiometricEnrollIntroMessage" />
185            </LinearLayout>
186
187            <LinearLayout
188                android:layout_width="match_parent"
189                android:layout_height="wrap_content"
190                android:orientation="horizontal">
191
192                <ImageView
193                    android:id="@+id/icon_link"
194                    android:layout_width="wrap_content"
195                    android:layout_height="wrap_content"
196                    android:contentDescription="@null"
197                    android:src="@drawable/ic_link_24dp"/>
198                <Space
199                    android:layout_width="16dp"
200                    android:layout_height="wrap_content"/>
201                <TextView
202                    android:id="@+id/footer_learn_more"
203                    android:linksClickable="true"
204                    android:layout_width="match_parent"
205                    android:layout_height="wrap_content"
206                    style="@style/BiometricEnrollIntroMessage"
207                    android:paddingBottom="0dp"
208                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" />
209            </LinearLayout>
210
211        </LinearLayout>
212
213    </LinearLayout>
214
215</com.google.android.setupdesign.GlifLayout>
216