1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    style="@style/PermissionReview">
20
21    <LinearLayout
22        android:layout_width="wrap_content"
23        android:layout_height="wrap_content"
24        android:visibility="visible"
25        style="@style/PermissionReviewDescription">
26
27        <ImageView
28            android:id="@+id/app_icon"
29            android:visibility="visible"
30            style="@style/PermissionReviewTitleIcon" />
31
32        <TextView
33            android:id="@+id/permissions_message"
34            android:visibility="visible"
35            style="@style/PermissionReviewTitleMessage" />
36
37    </LinearLayout>
38
39    <FrameLayout
40        android:id="@+id/preferences_frame"
41        android:layout_width="match_parent"
42        android:layout_height="match_parent"
43        android:layout_weight="1"
44        android:visibility="visible"
45        style="@style/PermissionReviewSettings" />
46
47    <LinearLayout
48        android:layout_width="match_parent"
49        android:layout_height="wrap_content"
50        android:orientation="horizontal"
51        style="?android:attr/buttonBarStyle">
52
53        <Button
54            android:id="@+id/permission_more_info_button"
55            android:visibility="gone"
56            style="@style/PermissionReviewButtonMoreInfo"
57            android:text="@string/grant_dialog_button_more_info">
58        </Button>
59
60        <Space
61            style="@style/PermissionReviewButtonBarSpace">
62        </Space>
63
64        <LinearLayout
65            android:id="@+id/button_group"
66            style="@style/PermissionReviewButtonBar">
67
68            <Button
69                android:id="@+id/cancel_button"
70                style="@style/PermissionReviewButtonCancel"
71                android:text="@string/review_button_cancel">
72            </Button>
73
74            <Button
75                android:id="@+id/continue_button"
76                style="@style/PermissionReviewButtonContinue"
77                android:text="@string/review_button_continue">
78            </Button>
79
80        </LinearLayout>
81
82    </LinearLayout>
83
84</LinearLayout>
85