blob: 0a2294fdb19660ea213f2e83bb7fc0c93dbe62bc [file] [log] [blame]
Maurice Lam6b19fa92014-11-25 19:25:56 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 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
Maurice Lamdcf05e52015-05-20 20:00:36 -070018<!-- Used in phone portrait and tablet, as referenced in alias.xml. -->
Pasty Changc1f86002018-12-11 02:22:55 +000019<com.google.android.setupdesign.GlifLayout
Maurice Lam6b19fa92014-11-25 19:25:56 -080020 xmlns:android="http://schemas.android.com/apk/res/android"
Maurice Lam83301b52015-04-18 20:11:59 -070021 xmlns:settings="http://schemas.android.com/apk/res-auto"
pastychangc3c5a5c2019-01-17 15:44:08 +080022 android:id="@+id/setup_wizard_layout"
Maurice Lam6b19fa92014-11-25 19:25:56 -080023 android:layout_width="match_parent"
24 android:layout_height="match_parent"
Maurice Lam190ec1c2016-04-22 16:41:18 -070025 android:icon="@drawable/ic_lock"
pastychang8d2dc162018-12-21 14:01:18 +080026 android:layout="@layout/sud_glif_blank_template"
pastychang79614822019-01-03 10:12:54 +080027 settings:sucHeaderText="@string/lockpassword_choose_your_screen_lock_header">
Maurice Lam6b19fa92014-11-25 19:25:56 -080028
Maurice Lam83301b52015-04-18 20:11:59 -070029 <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
30 android:id="@+id/topLayout"
Maurice Lam6b19fa92014-11-25 19:25:56 -080031 android:layout_width="match_parent"
Maurice Lam83301b52015-04-18 20:11:59 -070032 android:layout_height="match_parent"
Maurice Lambdfc27f2017-02-21 18:24:39 -080033 android:clipChildren="false"
34 android:clipToPadding="false"
Maurice Lam6b19fa92014-11-25 19:25:56 -080035 android:orientation="vertical">
36
Maurice Lam4853cce2017-05-15 12:20:17 -070037 <LinearLayout
pastychang79614822019-01-03 10:12:54 +080038 style="@style/SudGlifHeaderContainer"
Maurice Lam4853cce2017-05-15 12:20:17 -070039 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 android:orientation="vertical">
42
43 <ImageView
Maurice Lam9c2fae82019-03-26 18:50:21 -070044 android:id="@+id/sud_layout_icon"
pastychang79614822019-01-03 10:12:54 +080045 style="@style/SudGlifIcon"
Maurice Lam4853cce2017-05-15 12:20:17 -070046 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:src="@drawable/ic_lock" />
49
50 <TextView
pastychang79614822019-01-03 10:12:54 +080051 android:id="@+id/suc_layout_title"
52 style="@style/SudGlifHeaderTitle"
Joshua Mccloskeya1c13b92018-05-14 12:22:51 -070053 android:accessibilityLiveRegion="polite"
Maurice Lam4853cce2017-05-15 12:20:17 -070054 android:layout_width="match_parent"
55 android:layout_height="wrap_content" />
56
57 </LinearLayout>
58
Maurice Lam83301b52015-04-18 20:11:59 -070059 <!-- takes up all space above button bar at bottom -->
60 <LinearLayout
pastychang79614822019-01-03 10:12:54 +080061 style="@style/SudContentFrame"
Maurice Lam6b19fa92014-11-25 19:25:56 -080062 android:layout_width="match_parent"
63 android:layout_height="0dip"
64 android:layout_weight="1"
65 android:gravity="center"
Maurice Lambdfc27f2017-02-21 18:24:39 -080066 android:clipChildren="false"
67 android:clipToPadding="false"
Maurice Lam7efcc352017-09-08 11:57:27 -070068 android:orientation="vertical"
69 android:paddingLeft="0dp"
70 android:paddingRight="0dp">
Maurice Lam6b19fa92014-11-25 19:25:56 -080071
Maurice Lam7f5e1962017-09-08 17:51:58 -070072 <TextView
pastychangfa68ec42019-04-12 16:22:17 +080073 android:id="@+id/sud_layout_description"
pastychang79614822019-01-03 10:12:54 +080074 style="@style/SudDescription.Glif"
Maurice Lam7f5e1962017-09-08 17:51:58 -070075 android:layout_width="match_parent"
76 android:layout_height="wrap_content"
pastychang79614822019-01-03 10:12:54 +080077 android:layout_marginHorizontal="?attr/sudMarginSides"
Maurice Lam7f5e1962017-09-08 17:51:58 -070078 android:minLines="2" />
79
Maurice Lam83301b52015-04-18 20:11:59 -070080 <TextView android:id="@+id/headerText"
81 android:layout_width="match_parent"
Maurice Lam7b6791d2016-05-09 18:22:08 -070082 android:layout_height="wrap_content"
Maurice Lam7b6791d2016-05-09 18:22:08 -070083 android:minLines="2"
Maurice Lam83301b52015-04-18 20:11:59 -070084 android:gravity="center"
pastychang79614822019-01-03 10:12:54 +080085 android:paddingHorizontal="?attr/sudMarginSides"
Jyun LuoLai11960ce2018-03-15 14:11:30 +080086 android:textSize="12sp" />
Maurice Lam83301b52015-04-18 20:11:59 -070087
Pasty Changc1f86002018-12-11 02:22:55 +000088 <com.google.android.setupdesign.view.FillContentLayout
Maurice Lam7efcc352017-09-08 11:57:27 -070089 style="@style/LockPatternContainerStyle"
90 android:layout_width="wrap_content"
91 android:layout_height="0dp"
92 android:layout_weight="1">
93
94 <com.android.internal.widget.LockPatternView
95 android:id="@+id/lockPattern"
96 android:layout_width="match_parent"
97 android:layout_height="match_parent"
98 android:layout_gravity="center" />
99
Pasty Changc1f86002018-12-11 02:22:55 +0000100 </com.google.android.setupdesign.view.FillContentLayout>
Maurice Lam83301b52015-04-18 20:11:59 -0700101
102 </LinearLayout>
103
Maurice Lama9a04ef2015-05-20 17:54:00 -0700104 <TextView android:id="@+id/footerText"
105 android:layout_width="wrap_content"
Maurice Lamaf103b42014-12-03 15:17:46 -0800106 android:layout_height="wrap_content"
Maurice Lama9a04ef2015-05-20 17:54:00 -0700107 android:layout_gravity="center_horizontal"
108 android:minHeight="50dip"
109 android:textSize="14sp"
110 android:visibility="gone"/>
Maurice Lam83301b52015-04-18 20:11:59 -0700111
Ajay Nadathura1314df2018-01-04 13:06:46 -0800112 <Button
113 android:id="@+id/screen_lock_options"
pastychang79614822019-01-03 10:12:54 +0800114 style="@style/SudGlifButton.Tertiary"
Ajay Nadathura1314df2018-01-04 13:06:46 -0800115 android:layout_width="wrap_content"
116 android:layout_height="wrap_content"
117 android:text="@string/setup_lock_settings_options_button_label"
118 android:visibility="gone" />
119
Maurice Lam83301b52015-04-18 20:11:59 -0700120 </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
Maurice Lam6b19fa92014-11-25 19:25:56 -0800121
Pasty Changc1f86002018-12-11 02:22:55 +0000122</com.google.android.setupdesign.GlifLayout>