blob: 6493dc2ed0fd7eef7922995d6c4df17cf8348935 [file] [log] [blame]
cretin453593f032016-04-20 16:21:05 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2016 The CyanogenMod Project
Michael Wcf12c852022-04-25 22:57:39 +02004 Copyright (C) 2017-2022 The LineageOS Project
cretin453593f032016-04-20 16:21:05 -07005
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äki5e2f7f22021-08-21 08:58:14 +000018<com.google.android.setupdesign.GlifLayout
cretin453593f032016-04-20 16:21:05 -070019 xmlns:android="http://schemas.android.com/apk/res/android"
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +000020 xmlns:app="http://schemas.android.com/apk/res-auto"
21 android:id="@+id/setup_wizard_layout"
cretin453593f032016-04-20 16:21:05 -070022 android:layout_width="match_parent"
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +000023 android:layout_height="match_parent">
cretin453593f032016-04-20 16:21:05 -070024
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +000025 <LinearLayout
Michael Wcf12c852022-04-25 22:57:39 +020026 android:layout_width="match_parent"
27 android:layout_height="match_parent"
Erfan Abdi618dfb22022-02-21 22:49:24 +033028 android:orientation="vertical">
cretin453593f032016-04-20 16:21:05 -070029
Timi Rautamäkiab4f1232021-08-23 16:56:13 +000030 <LinearLayout
Michael Wcf12c852022-04-25 22:57:39 +020031 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 Abdi618dfb22022-02-21 22:49:24 +033057 android:layout_width="fill_parent"
58 android:layout_height="wrap_content"
59 android:layout_gravity="bottom"
Michael Wcf12c852022-04-25 22:57:39 +020060 android:orientation="vertical">
Timi Rautamäkiab4f1232021-08-23 16:56:13 +000061
Erfan Abdi618dfb22022-02-21 22:49:24 +033062 <LinearLayout
Michael Wcf12c852022-04-25 22:57:39 +020063 style="@style/SudContentFrame"
Erfan Abdi618dfb22022-02-21 22:49:24 +033064 android:layout_width="fill_parent"
Timi Rautamäkiab4f1232021-08-23 16:56:13 +000065 android:layout_height="wrap_content"
Michael Wcf12c852022-04-25 22:57:39 +020066 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äkiab4f1232021-08-23 16:56:13 +000071
Michael Wcf12c852022-04-25 22:57:39 +020072 <TextView
73 style="@style/WelcomeTitle"
74 android:id="@+id/welcome_title"
Erfan Abdi618dfb22022-02-21 22:49:24 +033075 android:layout_width="fill_parent"
Michael Wcf12c852022-04-25 22:57:39 +020076 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 Abdi618dfb22022-02-21 22:49:24 +0330101 </LinearLayout>
Michael Wcf12c852022-04-25 22:57:39 +0200102
Timi Rautamäkiab4f1232021-08-23 16:56:13 +0000103 </LinearLayout>
104
Timi Rautamäkif6dbf842021-08-24 19:19:25 +0000105 <LinearLayout
Erfan Abdi618dfb22022-02-21 22:49:24 +0330106 style="@style/SudGlifButtonBar.Stackable"
107 android:layout_width="fill_parent"
Timi Rautamäkiab4f1232021-08-23 16:56:13 +0000108 android:layout_height="wrap_content"
Erfan Abdi618dfb22022-02-21 22:49:24 +0330109 android:layout_gravity="bottom">
cretin453593f032016-04-20 16:21:05 -0700110
Timi Rautamäkif6dbf842021-08-24 19:19:25 +0000111 <Button
112 android:id="@+id/emerg_dialer"
Erfan Abdi618dfb22022-02-21 22:49:24 +0330113 style="@style/SudGlifButton.Secondary"
Timi Rautamäkif6dbf842021-08-24 19:19:25 +0000114 android:layout_width="wrap_content"
115 android:layout_height="wrap_content"
Erfan Abdi618dfb22022-02-21 22:49:24 +0330116 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äkif6dbf842021-08-24 19:19:25 +0000122
123 <Button
Erfan Abdi618dfb22022-02-21 22:49:24 +0330124 android:id="@id/start"
125 style="@style/SudGlifButton.Primary"
Timi Rautamäkif6dbf842021-08-24 19:19:25 +0000126 android:layout_width="wrap_content"
127 android:layout_height="wrap_content"
Erfan Abdi618dfb22022-02-21 22:49:24 +0330128 android:text="@string/start" />
Timi Rautamäkif6dbf842021-08-24 19:19:25 +0000129 </LinearLayout>
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +0000130 </LinearLayout>
131</com.google.android.setupdesign.GlifLayout>