blob: f5cf96969e436e8ab145e8686685d50e0a6f828d [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"
99 android:paddingTop="10dip">
100
101 <Button
102 android:id="@+id/button_alwaysdeny"
103 android:layout_width="wrap_content"
104 android:layout_height="wrap_content"
105 android:layout_alignParentLeft="true"
106 style="@style/gears_button"
107 android:textSize="13dip"/>
108
109 <LinearLayout
110 android:layout_width="wrap_content"
111 android:layout_alignParentRight="true"
112 android:layout_height="wrap_content">
113
114 <Button
115 android:id="@+id/button_allow"
116 android:layout_width="wrap_content"
117 android:layout_height="wrap_content"
118 android:textSize="13dip"/>
119
120 <Button
121 android:id="@+id/button_deny"
122 android:layout_width="wrap_content"
123 android:layout_height="wrap_content"
124 android:textSize="13dip"/>
125
126 </LinearLayout>
127
128 </RelativeLayout>
129
130</LinearLayout>