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 |
| 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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame^] | 18 | <org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 19 | 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"> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 28 | |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 29 | <LinearLayout |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="match_parent" |
| 32 | android:orientation="vertical" |
| 33 | android:background="@color/primary"> |
| 34 | |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 35 | <ImageView |
| 36 | android:id="@+id/brand_logo" |
| 37 | android:layout_width="match_parent" |
cretin45 | 0c7b92a | 2017-02-26 10:22:18 -0800 | [diff] [blame] | 38 | android:layout_height="0px" |
| 39 | android:layout_weight="1" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 40 | android:src="@drawable/logo" |
| 41 | android:adjustViewBounds="true" |
| 42 | android:scaleType="fitCenter" |
cretin45 | 0c7b92a | 2017-02-26 10:22:18 -0800 | [diff] [blame] | 43 | android:gravity="center" |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 44 | android:padding="@dimen/content_margin_left"/> |
| 45 | |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 46 | |
| 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> |
cretin45 | d4cea55 | 2016-04-25 11:00:04 -0700 | [diff] [blame] | 52 | |
cretin45 | 3593f03 | 2016-04-20 16:21:05 -0700 | [diff] [blame] | 53 | <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 Bestas | c83309e | 2018-02-03 17:42:13 +0200 | [diff] [blame^] | 59 | </org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout> |