blob: 5536fed4e40af85ea60a2fa4683ab28cf334a34a [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:paddingRight="10dip"
57 android:gravity="center_vertical"
58 android:visibility="gone"
59 android:textSize="16dip"
60 android:textStyle="bold"
61 android:textColor="@color/black"/>
62
63 <TextView
64 android:id="@+id/dialog_subtitle"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:paddingTop="10dip"
68 android:paddingRight="10dip"
69 android:gravity="center_vertical"
70 android:visibility="gone"
71 android:textSize="13dip"
72 android:textColor="@color/black"/>
73
74 <TextView
75 android:id="@+id/dialog_message"
76 android:layout_width="wrap_content"
77 android:layout_height="wrap_content"
78 android:visibility="gone"
79 android:gravity="center_vertical"
80 android:textSize="13dip"
81 android:textColor="@color/black"/>
82
83 </LinearLayout>
84
85 </LinearLayout>
86
87 </LinearLayout>
88
89 <LinearLayout
90 android:id="@+id/panel_content"
91 android:layout_width="fill_parent"
92 android:layout_height="0dip"
93 android:layout_weight="1"/>
94
95 <RelativeLayout
96 android:background="@color/white"
97 android:layout_width="fill_parent"
98 android:layout_height="wrap_content"
The Android Open Source Project765e7c92009-01-09 17:51:25 -080099 android:paddingTop="2dip">
The Android Open Source Projected217d92008-12-17 18:05:52 -0800100
The Android Open Source Project765e7c92009-01-09 17:51:25 -0800101 <LinearLayout
102 android:orientation="vertical"
103 android:layout_width="fill_parent"
The Android Open Source Projected217d92008-12-17 18:05:52 -0800104 android:layout_height="wrap_content">
105
The Android Open Source Project765e7c92009-01-09 17:51:25 -0800106 <TextView
107 android:id="@+id/selection"
108 android:layout_width="fill_parent"
109 android:layout_height="wrap_content"
110 android:textSize="13dip"
111 android:gravity="right"
112 android:textColor="@color/black"/>
The Android Open Source Projected217d92008-12-17 18:05:52 -0800113
The Android Open Source Project765e7c92009-01-09 17:51:25 -0800114 <RelativeLayout
115 android:background="@color/white"
116 android:layout_width="fill_parent"
117 android:layout_height="wrap_content"
118 android:paddingTop="2dip">
119
120 <LinearLayout
121 android:orientation="horizontal"
122 android:layout_width="wrap_content"
123 android:layout_height="wrap_content"
124 android:background="@color/white">
125
126 <Button
127 android:id="@+id/button_alwaysdeny"
128 android:layout_width="wrap_content"
129 android:layout_height="48px"
130 android:layout_alignParentLeft="true"
131 style="@style/gears_button"
132 android:textSize="13dip"/>
133
134 </LinearLayout>
135
136 <LinearLayout
137 android:layout_width="wrap_content"
138 android:layout_alignParentRight="true"
139 android:layout_height="wrap_content">
140
141 <Button
142 android:id="@+id/button_allow"
143 android:layout_width="wrap_content"
144 android:layout_height="48px"
145 android:textSize="13dip"/>
146
147 <Button
148 android:id="@+id/button_deny"
149 android:layout_width="wrap_content"
150 android:layout_height="48px"
151 android:textSize="13dip"/>
152
153 </LinearLayout>
154
155 </RelativeLayout>
The Android Open Source Projected217d92008-12-17 18:05:52 -0800156
157 </LinearLayout>
158
159 </RelativeLayout>
160
161</LinearLayout>