Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 16 | <com.google.android.setupdesign.GlifLayout |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 18 | android:id="@+id/setup_wizard_layout" |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 19 | android:layout_width="match_parent" |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 20 | android:layout_height="match_parent" |
| 21 | android:icon="@drawable/ic_enterprise" |
| 22 | android:layout="@layout/sud_glif_blank_template"> |
Jorim Jaggi | 8a09b61 | 2015-04-06 17:47:18 -0700 | [diff] [blame] | 23 | |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 24 | <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 25 | android:id="@+id/topLayout" |
| 26 | android:orientation="vertical" |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 27 | android:layout_width="match_parent" |
| 28 | android:layout_height="match_parent"> |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 29 | |
| 30 | <LinearLayout |
| 31 | android:layout_width="match_parent" |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 32 | android:layout_height="wrap_content" |
| 33 | android:orientation="vertical" |
| 34 | android:paddingBottom="24dp"> |
| 35 | |
| 36 | <ImageView |
| 37 | android:id="@+id/sud_layout_icon" |
| 38 | style="@style/SudGlifIcon" |
| 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:layout_gravity="?attr/sudGlifHeaderGravity" |
| 42 | android:src="@drawable/ic_enterprise" /> |
| 43 | |
| 44 | <TextView |
| 45 | android:id="@+id/headerText" |
| 46 | style="@style/SudGlifHeaderTitle" |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="wrap_content" /> |
| 49 | |
| 50 | <TextView |
| 51 | android:id="@+id/sud_layout_description" |
| 52 | style="@style/SudDescription.Glif" |
| 53 | android:layout_width="match_parent" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:layout_marginStart="?attr/sudMarginSides" |
Pavel Grafov | 04f783c | 2020-02-13 21:39:37 +0000 | [diff] [blame] | 56 | android:layout_marginEnd="?attr/sudMarginSides" /> |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 57 | |
| 58 | <Button |
| 59 | android:id="@+id/cancelButton" |
| 60 | style="@style/SudGlifButton.Secondary" |
| 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="wrap_content" |
| 63 | android:layout_marginStart="?attr/sudMarginSides" |
| 64 | android:layout_marginEnd="?attr/sudMarginSides" |
| 65 | android:layout_marginBottom="80dp" |
| 66 | android:text="@string/cancel" /> |
| 67 | |
Pavel Grafov | 04f783c | 2020-02-13 21:39:37 +0000 | [diff] [blame] | 68 | <Button |
| 69 | android:id="@+id/forgotButton" |
| 70 | style="@style/SudGlifButton.Secondary" |
| 71 | android:layout_width="wrap_content" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:layout_marginStart="?attr/sudMarginSides" |
| 74 | android:layout_marginEnd="?attr/sudMarginSides" |
Pavel Grafov | c4d9980 | 2020-02-20 12:32:57 +0000 | [diff] [blame] | 75 | android:layout_gravity="center" |
| 76 | android:visibility="gone" /> |
Pavel Grafov | 04f783c | 2020-02-13 21:39:37 +0000 | [diff] [blame] | 77 | |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 78 | </LinearLayout> |
| 79 | |
| 80 | <LinearLayout |
| 81 | style="@style/SudContentFrame" |
| 82 | android:layout_width="match_parent" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:orientation="vertical" |
| 85 | android:gravity="center" |
| 86 | android:paddingLeft="0dp" |
| 87 | android:paddingRight="0dp"> |
| 88 | |
| 89 | <com.google.android.setupdesign.view.FillContentLayout |
| 90 | style="@style/LockPatternContainerStyle" |
| 91 | android:layout_width="wrap_content" |
| 92 | android:layout_height="0dp" |
| 93 | android:layout_weight="1"> |
| 94 | |
| 95 | <com.android.internal.widget.LockPatternView |
| 96 | android:id="@+id/lockPattern" |
| 97 | android:layout_width="match_parent" |
| 98 | android:layout_height="match_parent" |
| 99 | android:layout_gravity="center" /> |
| 100 | |
| 101 | </com.google.android.setupdesign.view.FillContentLayout> |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 102 | |
| 103 | <TextView |
Raff Tsai | f6d42a9 | 2018-12-26 12:54:05 +0800 | [diff] [blame] | 104 | style="@style/TextAppearance.ErrorText" |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 105 | android:accessibilityLiveRegion="polite" |
| 106 | android:id="@+id/errorText" |
| 107 | android:layout_width="wrap_content" |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 108 | android:layout_height="wrap_content" |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 109 | android:layout_gravity="center_horizontal" |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 110 | android:layout_marginHorizontal="?attr/sudMarginSides" |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 111 | android:layout_marginTop="12dp" |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 112 | android:gravity="center_vertical"/> |
| 113 | |
Benjamin Franz | 194300d | 2016-01-13 12:16:25 +0000 | [diff] [blame] | 114 | </LinearLayout> |
| 115 | |
| 116 | </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient> |
Alex Johnston | 7868acf | 2019-12-09 12:52:14 +0000 | [diff] [blame] | 117 | </com.google.android.setupdesign.GlifLayout> |