1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2015 The Android Open Source Project
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9         http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:background="@color/permission_check_activity_background"
22    android:orientation="vertical" >
23    <TextView
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        android:text="@string/required_permissions_promo"
27        android:paddingTop="96dp"
28        style="@style/PromoScreenTextStyle.CenterAligned" />
29    <TextView
30        android:id="@+id/enable_permission_procedure"
31        android:layout_width="match_parent"
32        android:layout_height="wrap_content"
33        android:paddingTop="16dp"
34        android:text="@string/enable_permission_procedure"
35        android:contentDescription="@string/enable_permission_procedure_description"
36        style="@style/PromoScreenTextStyle.CenterAligned"
37        android:visibility="invisible"/>
38    <ImageView
39        android:layout_width="match_parent"
40        android:layout_height="0dp"
41        android:layout_weight="1"
42        android:paddingTop="40dp"
43        android:src="@drawable/permissions"
44        android:scaleType="centerInside"
45        android:importantForAccessibility="no" />
46    <View
47        android:layout_width="match_parent"
48        android:layout_height="1dp"
49        android:background="@android:color/white" />
50    <!-- Buttons -->
51    <LinearLayout
52        android:layout_width="match_parent"
53        android:layout_height="48dp"
54        android:orientation="horizontal" >
55        <TextView
56            android:id="@+id/exit"
57            android:layout_width="0dp"
58            android:layout_height="match_parent"
59            android:layout_weight="1"
60            android:text="@string/exit"
61            style="@style/PromoScreenButtonStyle" />
62        <TextView
63            android:id="@+id/next"
64            android:layout_width="0dp"
65            android:layout_height="match_parent"
66            android:layout_weight="1"
67            android:text="@string/next_with_arrow"
68            android:contentDescription="@string/next"
69            style="@style/PromoScreenButtonStyle" />
70        <TextView
71            android:id="@+id/settings"
72            android:layout_width="0dp"
73            android:layout_height="match_parent"
74            android:layout_weight="1"
75            android:text="@string/settings_with_arrow"
76            android:contentDescription="@string/settings"
77            style="@style/PromoScreenButtonStyle"
78            android:visibility="gone"/>
79        </LinearLayout>
80</LinearLayout>
81