1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2023 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    android:id="@+id/setup_wizard_layout"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent"
24    app:sucUsePartnerResource="false"
25    app:sucHeaderText="@string/security_settings_remoteauth_settings_title"
26    app:sudDescriptionText="@string/security_settings_remoteauth_settings_description" >
27
28    <LinearLayout
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:orientation="vertical"
32        android:gravity="start"
33        android:paddingHorizontal="@dimen/remoteauth_padding_horizontal">
34
35        <androidx.recyclerview.widget.RecyclerView
36            android:id="@+id/registered_authenticator_list"
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content"
39            android:layout_marginTop="@dimen/remoteauth_settings_top_margin"/>
40
41        <androidx.constraintlayout.widget.ConstraintLayout
42            android:id="@+id/add_authenticator_layout"
43            android:layout_width="match_parent"
44            android:layout_height="wrap_content"
45            android:layout_marginVertical="@dimen/remoteauth_device_vertical_margin"
46            android:minHeight="@dimen/remoteauth_touchable_area_minimum_span"
47            android:clickable="true">
48
49            <ImageView
50                android:id="@+id/add_icon"
51                android:layout_width="@dimen/remoteauth_icon_small_size"
52                android:layout_height="@dimen/remoteauth_icon_small_size"
53                app:layout_constraintBottom_toBottomOf="parent"
54                app:layout_constraintStart_toStartOf="parent"
55                app:layout_constraintTop_toTopOf="parent"
56                android:background="@drawable/ic_add_24dp"
57                android:clickable="false" />
58            <TextView
59                android:layout_width="wrap_content"
60                android:layout_height="wrap_content"
61                android:layout_marginHorizontal="@dimen/remoteauth_settings_device_horizontal_margin"
62                android:textColor="?android:attr/textColorPrimary"
63                android:textSize="@dimen/remoteauth_device_name_text_size"
64                app:layout_constraintBottom_toBottomOf="parent"
65                app:layout_constraintStart_toEndOf="@id/add_icon"
66                app:layout_constraintTop_toTopOf="parent"
67                android:text="@string/security_settings_remoteauth_settings_register_new_authenticator"
68                android:clickable="false" />
69        </androidx.constraintlayout.widget.ConstraintLayout>
70
71        <ImageView
72            android:layout_marginTop="@dimen/remoteauth_settings_top_margin"
73            android:layout_width="@dimen/remoteauth_icon_small_size"
74            android:layout_height="@dimen/remoteauth_icon_small_size"
75            android:background="@drawable/ic_info_outline_24dp"/>
76
77        <TextView
78            android:layout_width="wrap_content"
79            android:layout_height="wrap_content"
80            android:layout_marginTop="@dimen/remoteauth_settings_top_margin"
81            android:textSize="@dimen/remoteauth_fragment_subtitle_text_size"
82            android:text="@string/security_settings_remoteauth_settings_info_footer"
83            android:textColor="?android:attr/textColorPrimary" />
84
85        <TextView
86            android:layout_width="wrap_content"
87            android:layout_height="wrap_content"
88            android:layout_marginTop="@dimen/remoteauth_settings_top_margin"
89            android:textSize="@dimen/remoteauth_fragment_subtitle_text_size"
90            android:text="@string/security_settings_remoteauth_settings_learn_more"
91            android:textColor="?android:attr/textColorPrimary" />
92
93    </LinearLayout>
94
95</com.google.android.setupdesign.GlifLayout>