1 <?xml version="1.0" encoding="utf-8"?>
4 * Copyright 2008, The Android Open Source Project
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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.
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:drawingCacheQuality="auto"
22 android:layout_width="fill_parent"
23 android:layout_height="wrap_content"
24 android:orientation="vertical"
25 android:padding="10dip"
26 android:background="@color/white">
29 android:layout_width="fill_parent"
30 android:layout_height="wrap_content"
31 android:orientation="vertical"
32 android:paddingBottom="10dip">
35 android:layout_width="fill_parent"
36 android:layout_height="wrap_content"
37 android:orientation="vertical">
40 android:layout_width="fill_parent"
41 android:layout_height="wrap_content"
42 android:orientation="horizontal">
45 android:id="@+id/icon"
46 android:paddingRight="10dip"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_centerHorizontal="true" />
52 android:id="@+id/dialog_title"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_centerVertical="true"
56 android:gravity="center_vertical"
57 android:visibility="gone"
58 android:textSize="16dip"
59 android:textStyle="bold"
60 android:textColor="@color/black"/>
63 android:id="@+id/dialog_message"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:visibility="gone"
67 android:gravity="center_vertical"
68 android:textSize="13dip"
69 android:textColor="@color/black"/>
74 android:id="@+id/dialog_subtitle"
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:paddingTop="10dip"
78 android:gravity="center_vertical"
79 android:visibility="gone"
80 android:textSize="13dip"
81 android:textColor="@color/black"/>
88 android:id="@+id/panel_content"
89 android:layout_width="fill_parent"
90 android:layout_height="0dip"
91 android:layout_weight="1"/>
94 android:background="@color/white"
95 android:layout_width="fill_parent"
96 android:layout_height="wrap_content"
97 android:paddingTop="10dip">
100 android:id="@+id/button_alwaysdeny"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:layout_alignParentLeft="true"
104 style="@style/gears_button"
105 android:textSize="13dip"/>
108 android:layout_width="wrap_content"
109 android:layout_alignParentRight="true"
110 android:layout_height="wrap_content">
113 android:id="@+id/button_allow"
114 android:layout_width="wrap_content"
115 android:layout_height="wrap_content"
116 android:textSize="13dip"/>
119 android:id="@+id/button_deny"
120 android:layout_width="wrap_content"
121 android:layout_height="wrap_content"
122 android:textSize="13dip"/>