• 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_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        android:layout_marginStart="?attr/sudMarginStart"
35        android:layout_marginEnd="?attr/sudMarginEnd">
36
37        <com.google.android.setupdesign.view.RichTextView
38            android:id="@+id/error_text"
39            style="@style/SudDescription.Glif"
40            android:layout_width="match_parent"
41            android:layout_height="wrap_content" />
42
43        <FrameLayout
44            android:layout_width="match_parent"
45            android:layout_height="wrap_content">
46
47            <ImageView
48                style="@style/SudContentIllustration"
49                android:layout_width="match_parent"
50                android:layout_height="match_parent"
51                android:contentDescription="@null"
52                android:src="@drawable/fingerprint_enroll_introduction" />
53
54        </FrameLayout>
55
56        <!-- Contains the extra information text at the bottom -->
57        <LinearLayout
58            android:layout_width="match_parent"
59            android:layout_height="wrap_content"
60            android:orientation="vertical">
61
62            <!-- How it works -->
63            <TextView
64                android:layout_width="match_parent"
65                android:layout_height="wrap_content"
66                style="@style/BiometricEnrollIntroTitle"
67                android:text="@string/security_settings_fingerprint_v2_enroll_introduction_footer_title_2" />
68
69            <LinearLayout
70                android:layout_width="match_parent"
71                android:layout_height="wrap_content"
72                android:orientation="horizontal">
73
74                <ImageView
75                    android:id="@+id/icon_fingerprint"
76                    android:layout_width="wrap_content"
77                    android:layout_height="wrap_content"
78                    android:contentDescription="@null"
79                    android:src="@drawable/ic_fingerprint_24dp"/>
80                <Space
81                    android:layout_width="16dp"
82                    android:layout_height="wrap_content"/>
83                <TextView
84                    android:id="@+id/footer_message_2"
85                    android:layout_width="match_parent"
86                    android:layout_height="wrap_content"
87                    style="@style/BiometricEnrollIntroMessage" />
88            </LinearLayout>
89
90            <LinearLayout
91                android:layout_width="match_parent"
92                android:layout_height="wrap_content"
93                android:orientation="horizontal">
94
95                <ImageView
96                    android:id="@+id/icon_device_locked"
97                    android:layout_width="wrap_content"
98                    android:layout_height="wrap_content"
99                    android:contentDescription="@null"
100                    android:src="@drawable/ic_device_locked_24dp"/>
101                <Space
102                    android:layout_width="16dp"
103                    android:layout_height="wrap_content"/>
104                <TextView
105                    android:id="@+id/footer_message_3"
106                    android:layout_width="match_parent"
107                    android:layout_height="wrap_content"
108                    style="@style/BiometricEnrollIntroMessage" />
109            </LinearLayout>
110
111            <!-- You're in control -->
112            <TextView
113                android:id="@+id/footer_title_1"
114                android:layout_width="match_parent"
115                android:layout_height="wrap_content"
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                    style="@style/BiometricEnrollIntroMessage" />
137            </LinearLayout>
138
139            <!-- Keep in mind -->
140            <TextView
141                android:id="@+id/footer_title_2"
142                android:layout_width="match_parent"
143                android:layout_height="wrap_content"
144                style="@style/BiometricEnrollIntroTitle"
145                android:text="@string/security_settings_face_enroll_introduction_info_title"/>
146
147            <LinearLayout
148                android:layout_width="match_parent"
149                android:layout_height="wrap_content"
150                android:orientation="horizontal">
151
152                <ImageView
153                    android:id="@+id/icon_info"
154                    android:layout_width="wrap_content"
155                    android:layout_height="wrap_content"
156                    android:contentDescription="@null"
157                    android:src="@drawable/ic_info_outline_24dp"/>
158                <Space
159                    android:layout_width="16dp"
160                    android:layout_height="wrap_content"/>
161                <TextView
162                    android:id="@+id/footer_message_5"
163                    android:layout_width="match_parent"
164                    android:layout_height="wrap_content"
165                    style="@style/BiometricEnrollIntroMessage" />
166            </LinearLayout>
167
168            <LinearLayout
169                android:layout_width="match_parent"
170                android:layout_height="wrap_content"
171                android:orientation="horizontal">
172
173                <ImageView
174                    android:id="@+id/icon_link"
175                    android:layout_width="wrap_content"
176                    android:layout_height="wrap_content"
177                    android:contentDescription="@null"
178                    android:src="@drawable/ic_link_24dp"/>
179                <Space
180                    android:layout_width="16dp"
181                    android:layout_height="wrap_content"/>
182                <TextView
183                    android:layout_width="match_parent"
184                    android:layout_height="wrap_content"
185                    style="@style/BiometricEnrollIntroMessage"
186                    android:paddingBottom="0dp"
187                    android:text="@string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more" />
188            </LinearLayout>
189
190        </LinearLayout>
191
192    </LinearLayout>
193
194</com.google.android.setupdesign.GlifLayout>
195