cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2016 The CyanogenMod Project |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 4 | Copyright (C) 2017-2022 The LineageOS Project |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
Timi Rautamäki | 5e2f7f2 | 2021-08-21 08:58:14 +0000 | [diff] [blame] | 18 | <com.google.android.setupdesign.GlifLayout |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
Timi Rautamäki | 5e2f7f2 | 2021-08-21 08:58:14 +0000 | [diff] [blame] | 20 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 21 | android:id="@+id/setup_wizard_layout" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 22 | android:layout_width="match_parent" |
Timi Rautamäki | 5e2f7f2 | 2021-08-21 08:58:14 +0000 | [diff] [blame] | 23 | android:layout_height="match_parent"> |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 24 | |
Timi Rautamäki | 5e2f7f2 | 2021-08-21 08:58:14 +0000 | [diff] [blame] | 25 | <LinearLayout |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="match_parent" |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 28 | android:orientation="vertical"> |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 29 | |
Timi Rautamäki | ab4f123 | 2021-08-23 16:56:13 +0000 | [diff] [blame] | 30 | <LinearLayout |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 31 | android:layout_width="match_parent" |
| 32 | android:layout_height="0dp" |
| 33 | android:layout_weight="1" |
| 34 | android:orientation="vertical" |
| 35 | android:gravity="center_vertical"> |
| 36 | |
| 37 | <Space |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="0dp" |
| 40 | android:layout_weight="2"/> |
| 41 | |
| 42 | <ImageView |
| 43 | android:id="@+id/brand_logo" |
| 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:adjustViewBounds="true" |
| 47 | android:scaleType="centerCrop" |
| 48 | android:src="@drawable/logo" /> |
| 49 | |
| 50 | <Space |
| 51 | android:layout_width="match_parent" |
| 52 | android:layout_height="0dp" |
| 53 | android:layout_weight="0.5"/> |
| 54 | </LinearLayout> |
| 55 | |
| 56 | <LinearLayout |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 57 | android:layout_width="fill_parent" |
| 58 | android:layout_height="wrap_content" |
| 59 | android:layout_gravity="bottom" |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 60 | android:orientation="vertical"> |
Timi Rautamäki | ab4f123 | 2021-08-23 16:56:13 +0000 | [diff] [blame] | 61 | |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 62 | <LinearLayout |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 63 | style="@style/SudContentFrame" |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 64 | android:layout_width="fill_parent" |
Timi Rautamäki | ab4f123 | 2021-08-23 16:56:13 +0000 | [diff] [blame] | 65 | android:layout_height="wrap_content" |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 66 | android:layout_gravity="bottom" |
| 67 | android:orientation="vertical" |
| 68 | android:paddingStart="@dimen/welcome_content_container_padding_start" |
| 69 | android:paddingEnd="@dimen/welcome_content_container_padding_end" |
| 70 | android:paddingBottom="@dimen/welcome_content_container_padding_bottom"> |
Timi Rautamäki | ab4f123 | 2021-08-23 16:56:13 +0000 | [diff] [blame] | 71 | |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 72 | <TextView |
| 73 | style="@style/WelcomeTitle" |
| 74 | android:id="@+id/welcome_title" |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 75 | android:layout_width="fill_parent" |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 76 | android:layout_height="wrap_content" |
| 77 | android:hyphenationFrequency="none" |
| 78 | android:paddingBottom="@dimen/welcome_content_container_padding_bottom"/> |
| 79 | |
| 80 | <LinearLayout |
| 81 | android:layout_width="fill_parent" |
| 82 | android:layout_height="wrap_content" |
| 83 | android:animateLayoutChanges="true" |
| 84 | android:focusableInTouchMode="true" |
| 85 | android:importantForAccessibility="no" |
| 86 | android:orientation="vertical"> |
| 87 | |
| 88 | <Button |
| 89 | android:id="@+id/launch_accessibility" |
| 90 | style="@style/SudGlifButton.Secondary" |
| 91 | android:layout_width="fill_parent" |
| 92 | android:layout_height="fill_parent" |
| 93 | android:layout_gravity="center_vertical" |
| 94 | android:drawableStart="@drawable/ic_eye" |
| 95 | android:gravity="start|center" |
| 96 | android:drawablePadding="@dimen/welcome_content_container_padding_end" |
| 97 | android:textSize="@dimen/welcome_accessibility_text_size" |
| 98 | android:textColor="?android:textColorPrimary" |
| 99 | android:text="@string/accessibility_settings" /> |
| 100 | </LinearLayout> |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 101 | </LinearLayout> |
Michael W | cf12c85 | 2022-04-25 22:57:39 +0200 | [diff] [blame] | 102 | |
Timi Rautamäki | ab4f123 | 2021-08-23 16:56:13 +0000 | [diff] [blame] | 103 | </LinearLayout> |
| 104 | |
Timi Rautamäki | f6dbf84 | 2021-08-24 19:19:25 +0000 | [diff] [blame] | 105 | <LinearLayout |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 106 | style="@style/SudGlifButtonBar.Stackable" |
| 107 | android:layout_width="fill_parent" |
Timi Rautamäki | ab4f123 | 2021-08-23 16:56:13 +0000 | [diff] [blame] | 108 | android:layout_height="wrap_content" |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 109 | android:layout_gravity="bottom"> |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 110 | |
Timi Rautamäki | f6dbf84 | 2021-08-24 19:19:25 +0000 | [diff] [blame] | 111 | <Button |
| 112 | android:id="@+id/emerg_dialer" |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 113 | style="@style/SudGlifButton.Secondary" |
Timi Rautamäki | f6dbf84 | 2021-08-24 19:19:25 +0000 | [diff] [blame] | 114 | android:layout_width="wrap_content" |
| 115 | android:layout_height="wrap_content" |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 116 | android:text="@string/emergency_call" /> |
| 117 | |
| 118 | <Space |
| 119 | android:layout_width="0.0dip" |
| 120 | android:layout_height="0.0dip" |
| 121 | android:layout_weight="1.0" /> |
Timi Rautamäki | f6dbf84 | 2021-08-24 19:19:25 +0000 | [diff] [blame] | 122 | |
| 123 | <Button |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 124 | android:id="@id/start" |
| 125 | style="@style/SudGlifButton.Primary" |
Timi Rautamäki | f6dbf84 | 2021-08-24 19:19:25 +0000 | [diff] [blame] | 126 | android:layout_width="wrap_content" |
| 127 | android:layout_height="wrap_content" |
Erfan Abdi | 618dfb2 | 2022-02-21 22:49:24 +0330 | [diff] [blame] | 128 | android:text="@string/start" /> |
Timi Rautamäki | f6dbf84 | 2021-08-24 19:19:25 +0000 | [diff] [blame] | 129 | </LinearLayout> |
Timi Rautamäki | 5e2f7f2 | 2021-08-21 08:58:14 +0000 | [diff] [blame] | 130 | </LinearLayout> |
| 131 | </com.google.android.setupdesign.GlifLayout> |