blob: 0d834f3126ecc55795b2541ee2853465218fbeaa [file] [log] [blame]
The Android Open Source Projected217d92008-12-17 18:05:52 -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="10dip"
26 android:background="@color/white">
27
28 <LinearLayout
29 android:layout_width="fill_parent"
30 android:layout_height="wrap_content"
31 android:orientation="vertical"
32 android:paddingBottom="10dip">
33
34 <LinearLayout
35 android:layout_width="fill_parent"
36 android:layout_height="wrap_content"
37 android:orientation="vertical">
38
39 <LinearLayout
40 android:layout_width="fill_parent"
41 android:layout_height="wrap_content"
42 android:orientation="horizontal">
43
44 <ImageView
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" />
50
51 <TextView
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"/>
61
62 <TextView
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"/>
70
71 </LinearLayout>
72
73 <TextView
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"/>
82
83 </LinearLayout>
84
85 </LinearLayout>
86
87 <LinearLayout
88 android:id="@+id/panel_content"
89 android:layout_width="fill_parent"
90 android:layout_height="0dip"
91 android:layout_weight="1"/>
92
93 <RelativeLayout
94 android:background="@color/white"
95 android:layout_width="fill_parent"
96 android:layout_height="wrap_content"
The Android Open Source Project765e7c92009-01-09 17:51:25 -080097 android:paddingTop="2dip">
The Android Open Source Projected217d92008-12-17 18:05:52 -080098
The Android Open Source Project765e7c92009-01-09 17:51:25 -080099 <LinearLayout
100 android:orientation="vertical"
101 android:layout_width="fill_parent"
The Android Open Source Projected217d92008-12-17 18:05:52 -0800102 android:layout_height="wrap_content">
103
The Android Open Source Project765e7c92009-01-09 17:51:25 -0800104 <TextView
105 android:id="@+id/selection"
106 android:layout_width="fill_parent"
107 android:layout_height="wrap_content"
108 android:textSize="13dip"
109 android:gravity="right"
110 android:textColor="@color/black"/>
The Android Open Source Projected217d92008-12-17 18:05:52 -0800111
The Android Open Source Project765e7c92009-01-09 17:51:25 -0800112 <RelativeLayout
113 android:background="@color/white"
114 android:layout_width="fill_parent"
115 android:layout_height="wrap_content"
116 android:paddingTop="2dip">
117
118 <LinearLayout
119 android:orientation="horizontal"
120 android:layout_width="wrap_content"
121 android:layout_height="wrap_content"
122 android:background="@color/white">
123
124 <Button
125 android:id="@+id/button_alwaysdeny"
126 android:layout_width="wrap_content"
127 android:layout_height="48px"
128 android:layout_alignParentLeft="true"
129 style="@style/gears_button"
130 android:textSize="13dip"/>
131
132 </LinearLayout>
133
134 <LinearLayout
135 android:layout_width="wrap_content"
136 android:layout_alignParentRight="true"
137 android:layout_height="wrap_content">
138
139 <Button
140 android:id="@+id/button_allow"
141 android:layout_width="wrap_content"
142 android:layout_height="48px"
143 android:textSize="13dip"/>
144
145 <Button
146 android:id="@+id/button_deny"
147 android:layout_width="wrap_content"
148 android:layout_height="48px"
149 android:textSize="13dip"/>
150
151 </LinearLayout>
152
153 </RelativeLayout>
The Android Open Source Projected217d92008-12-17 18:05:52 -0800154
155 </LinearLayout>
156
157 </RelativeLayout>
158
159</LinearLayout>