blob: 2fc972dcc2fa39eb9b429ed5b960d7f93de1471e [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-->
cretin45d4cea552016-04-25 11:00:04 -070018<com.cyanogenmod.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
35 <Space android:layout_width="match_parent"
36 android:layout_height="0px"
37 android:layout_weight="1"/>
38
39 <ImageView
40 android:id="@+id/brand_logo"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 android:src="@drawable/logo"
44 android:adjustViewBounds="true"
45 android:scaleType="fitCenter"
46 android:padding="@dimen/content_margin_left"/>
47
48 <Space android:layout_width="match_parent"
49 android:layout_height="0px"
50 android:layout_weight="1"/>
51
52
53 <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
54 android:id="@+id/navigation_bar"
55 style="@style/setup_wizard_navbar_style" />
56
57 </LinearLayout>
cretin45d4cea552016-04-25 11:00:04 -070058
cretin453593f032016-04-20 16:21:05 -070059 <ImageView android:id="@+id/reveal"
60 android:layout_width="match_parent"
61 android:layout_height="match_parent"
62 android:background="@drawable/reveal"
63 android:visibility="invisible"/>
64
65 <ProgressBar
66 android:id="@+id/finishing_bar"
67 style="?android:attr/progressBarStyleHorizontal"
68 android:layout_width="match_parent"
69 android:layout_height="8dp"
70 android:layout_gravity="bottom"
71 android:visibility="gone"/>
cretin45d4cea552016-04-25 11:00:04 -070072
73</com.cyanogenmod.setupwizard.widget.ScrimInsetsFrameLayout>