blob: ed75aea4d5f0cabfc3db942d75ff38a14a693068 [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
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +00004 Copyright (C) 2017-2021 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-->
Michael Bestasc83309e2018-02-03 17:42:13 +020018<org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout
cretin453593f032016-04-20 16:21:05 -070019 xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:app="http://schemas.android.com/apk/res-auto"
21 android:id="@+id/root"
22 android:orientation="vertical"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
cretin453593f032016-04-20 16:21:05 -070025 android:fitsSystemWindows="true"
26 app:insetForeground="@android:color/transparent">
cretin45d4cea552016-04-25 11:00:04 -070027
cretin453593f032016-04-20 16:21:05 -070028 <LinearLayout
29 android:layout_width="match_parent"
30 android:layout_height="match_parent"
Timi Rautamäki44fb45c2021-08-22 18:27:26 +000031 android:orientation="vertical"
32 style="@style/SudContentFrame">
cretin453593f032016-04-20 16:21:05 -070033
cretin453593f032016-04-20 16:21:05 -070034 <ImageView
35 android:id="@+id/brand_logo"
Dominik Baronelli0002b602022-10-14 10:47:29 +020036 android:layout_width="wrap_content"
37 android:layout_height="0dp"
cretin450c7b92a2017-02-26 10:22:18 -080038 android:layout_weight="1"
Dominik Baronelli0002b602022-10-14 10:47:29 +020039 android:src="@drawable/shift_logo"
cretin453593f032016-04-20 16:21:05 -070040 android:adjustViewBounds="true"
Alexander Martinzc25abdd2023-03-21 19:11:20 +010041 android:scaleType="center"
cretin450c7b92a2017-02-26 10:22:18 -080042 android:gravity="center"
Timi Rautamäki44fb45c2021-08-22 18:27:26 +000043 android:padding="@dimen/content_margin_left"/>
cretin453593f032016-04-20 16:21:05 -070044
Alexander Martinzc25abdd2023-03-21 19:11:20 +010045 </LinearLayout>
46
47 <LinearLayout
48 android:layout_width="match_parent"
49 android:layout_height="match_parent"
50 android:orientation="vertical"
51 style="@style/SudContentFrame">
52
53 <Space
54 android:layout_width="wrap_content"
55 android:layout_height="0dp"
56 android:layout_weight="1" />
57
Timi Rautamäki44fb45c2021-08-22 18:27:26 +000058 <org.lineageos.setupwizard.NavigationLayout
Chirayu Desai0ebdabe2019-09-13 01:12:59 +053059 android:id="@+id/navigation_bar"
Chirayu Desai0ebdabe2019-09-13 01:12:59 +053060 android:layout_width="match_parent"
Timi Rautamäki44fb45c2021-08-22 18:27:26 +000061 android:layout_height="wrap_content" />
cretin453593f032016-04-20 16:21:05 -070062
63 </LinearLayout>
cretin45d4cea552016-04-25 11:00:04 -070064
Michael Bestasade13612021-08-25 15:27:57 +030065 <ImageView
Timi Rautamäki5e2f7f22021-08-21 08:58:14 +000066 android:id="@+id/reveal"
67 android:layout_width="match_parent"
68 android:layout_height="match_parent"
69 android:background="@drawable/reveal"
70 android:visibility="invisible"/>
cretin453593f032016-04-20 16:21:05 -070071
Abhisek Devkota3e80db12018-03-09 19:46:57 -080072</org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout>