blob: e4fce9258c238a4b522f0a3f80bd4daa09eb8be3 [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
4 Copyright (C) 2017 The LineageOS Project
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-->
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"
25 android:clickable="true"
26 android:fitsSystemWindows="true"
27 app:insetForeground="@android:color/transparent">
cretin45d4cea552016-04-25 11:00:04 -070028
cretin453593f032016-04-20 16:21:05 -070029 <LinearLayout
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:orientation="vertical"
33 android:background="@color/primary">
34
cretin453593f032016-04-20 16:21:05 -070035 <ImageView
36 android:id="@+id/brand_logo"
37 android:layout_width="match_parent"
cretin450c7b92a2017-02-26 10:22:18 -080038 android:layout_height="0px"
39 android:layout_weight="1"
cretin453593f032016-04-20 16:21:05 -070040 android:src="@drawable/logo"
41 android:adjustViewBounds="true"
42 android:scaleType="fitCenter"
cretin450c7b92a2017-02-26 10:22:18 -080043 android:gravity="center"
cretin453593f032016-04-20 16:21:05 -070044 android:padding="@dimen/content_margin_left"/>
45
cretin453593f032016-04-20 16:21:05 -070046
47 <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
48 android:id="@+id/navigation_bar"
49 style="@style/setup_wizard_navbar_style" />
50
51 </LinearLayout>
cretin45d4cea552016-04-25 11:00:04 -070052
cretin453593f032016-04-20 16:21:05 -070053 <ImageView android:id="@+id/reveal"
54 android:layout_width="match_parent"
55 android:layout_height="match_parent"
56 android:background="@drawable/reveal"
57 android:visibility="invisible"/>
58
Michael Bestasc83309e2018-02-03 17:42:13 +020059</org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout>