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 android:layout_width="fill_parent" 20 android:layout_height="fill_parent" 21 android:layout_marginTop="32dip" 22 android:layout_marginBottom="8dip" 23 android:orientation="vertical"> 24 25 <LinearLayout 26 android:layout_width="wrap_content" 27 android:layout_height="wrap_content" 28 android:layout_marginStart="16dip" 29 android:layout_marginEnd="16dip" 30 android:orientation="horizontal"> 31 32 <ImageView 33 android:id="@+id/app_icon" 34 android:layout_width="36dip" 35 android:layout_height="36dip" 36 android:tint="?android:attr/colorAccent" 37 android:scaleType="fitCenter"> 38 </ImageView> 39 40 <TextView 41 android:id="@+id/permissions_message" 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 android:layout_marginStart="16dip" 45 style="?android:attr/textAppearanceMedium"> 46 </TextView> 47 48 </LinearLayout> 49 50 <FrameLayout 51 android:id="@+id/preferences_frame" 52 android:layout_width="fill_parent" 53 android:layout_height="fill_parent" 54 android:layout_marginStart="2dip" 55 android:layout_marginEnd="2dip" 56 android:layout_weight="1"> 57 </FrameLayout> 58 59 <com.android.internal.widget.ButtonBarLayout 60 android:layout_width="match_parent" 61 android:layout_height="wrap_content" 62 android:orientation="horizontal" 63 android:paddingStart="2dip" 64 android:paddingTop="16dip"> 65 66 <Space 67 android:id="@*android:id/spacer" 68 android:layout_width="0dp" 69 android:layout_height="0dp" 70 android:layout_weight="1" 71 android:visibility="invisible" /> 72 73 <Button 74 android:id="@+id/cancel_button" 75 android:layout_width="wrap_content" 76 android:layout_height="wrap_content" 77 style="?android:attr/buttonBarButtonStyle" 78 android:text="@string/review_button_cancel" /> 79 80 <Button 81 android:id="@+id/continue_button" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 style="?android:attr/buttonBarButtonStyle" 85 android:layout_marginStart="8dip" 86 android:text="@string/review_button_continue" /> 87 88 </com.android.internal.widget.ButtonBarLayout> 89 90</LinearLayout> 91