blob: 57d4f0bd502b8d8cbc8d9ad8538a24411a66e100 [file] [log] [blame]
The Android Open Source Project0c908882009-03-03 19:32:16 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright 2008, The Android Open Source 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 */
18-->
19
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="0dip">
26
27 <LinearLayout
28 android:layout_width="fill_parent"
29 android:layout_height="wrap_content"
30 android:orientation="vertical"
31 android:padding="10dip">
32
33 <LinearLayout
34 android:layout_width="fill_parent"
35 android:layout_height="wrap_content"
36 android:orientation="vertical">
37
38 <LinearLayout
39 android:layout_width="fill_parent"
40 android:layout_height="wrap_content"
41 android:orientation="horizontal">
42
43 <ImageView
44 android:id="@+id/icon"
45 android:paddingRight="10dip"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_centerHorizontal="true"/>
49
50 <TextView
51 android:id="@+id/dialog_title"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_centerVertical="true"
55 android:gravity="center_vertical"
56 android:visibility="gone"
57 android:textSize="16dip"
58 android:textStyle="bold"
59 android:textColor="@color/white"/>
60
61 <TextView
62 android:id="@+id/dialog_message"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:visibility="gone"
66 android:gravity="center_vertical"
67 android:textSize="20dip"
68 android:textColor="@color/white"/>
69
70 </LinearLayout>
71
72 </LinearLayout>
73
74 </LinearLayout>
75
76 <LinearLayout
77 android:layout_width="fill_parent"
78 android:layout_height="wrap_content"
79 android:orientation="vertical">
80
81 <ImageView android:id="@+id/titleDivider"
82 android:layout_width="fill_parent"
83 android:layout_height="1dip"
84 android:scaleType="fitXY"
85 android:gravity="fill_horizontal"
86 android:src="@drawable/dialog_divider_horizontal_light"
87 android:layout_marginLeft="10dip"
88 android:layout_marginRight="10dip"/>
89
90 </LinearLayout>
91
92 <LinearLayout
93 android:id="@+id/panel_content"
94 android:layout_width="fill_parent"
95 android:layout_height="wrap_content"
96 android:padding="0dip"
97 android:layout_weight="1" />
98
99 <RelativeLayout
100 android:layout_width="fill_parent"
101 android:layout_height="wrap_content"
102 android:paddingLeft="10dip"
103 android:paddingRight="10dip"
104 android:paddingTop="0dip">
105
106 <LinearLayout
107 android:orientation="vertical"
108 android:layout_width="fill_parent"
109 android:layout_height="wrap_content">
110
111 <TextView
112 android:id="@+id/selection"
113 android:layout_width="fill_parent"
114 android:layout_height="wrap_content"
115 android:textSize="13dip"
116 android:gravity="right"
117 android:visibility="gone"
118 android:textColor="@color/white"/>
119
120 </LinearLayout>
121
122 </RelativeLayout>
123
124 <LinearLayout
125 android:layout_width="fill_parent"
126 android:background="@color/gray"
127 android:layout_height="wrap_content"
128 android:paddingTop="4dip"
129 android:paddingLeft="0dip"
130 android:paddingRight="0dip">
131
132 <LinearLayout android:id="@+id/leftSpacer"
133 android:layout_weight="0.25"
134 android:layout_width="0dip"
135 android:layout_height="wrap_content"
136 android:orientation="horizontal"
137 android:visibility="gone"/>
138
139 <Button
140 android:id="@+id/button_allow"
141 android:layout_width="96px"
142 android:layout_height="48px"
143 android:layout_gravity="left"
144 android:layout_weight="1"
145 android:maxLines="2"
146 android:textSize="13dip"/>
147
148 <Button
149 android:id="@+id/button_alwaysdeny"
150 android:layout_width="96px"
151 android:layout_height="48px"
152 android:layout_gravity="left"
153 android:layout_weight="1"
154 android:maxLines="2"
155 android:textSize="13dip"/>
156
157 <Button
158 android:id="@+id/button_deny"
159 android:layout_width="96px"
160 android:layout_height="48px"
161 android:layout_gravity="right"
162 android:layout_weight="1"
163 android:maxLines="2"
164 android:textSize="13dip"/>
165
166 <LinearLayout android:id="@+id/rightSpacer"
167 android:layout_width="0dip"
168 android:layout_weight="0.25"
169 android:layout_height="wrap_content"
170 android:orientation="horizontal"
171 android:visibility="gone" />
172
173 </LinearLayout>
174
175</LinearLayout>