OSDN Git Service

Fix the activity leak in the Browser.
[android-x86/packages-apps-Browser.git] / res / layout / gears_dialog_settings_row.xml
1 <?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:orientation="vertical"
22   android:layout_width="fill_parent"
23   android:layout_height="wrap_content"
24   android:textSize="13dip"
25   android:background="@color/white"
26   android:textColor="@color/black">
27
28   <LinearLayout
29     android:orientation="horizontal"
30     android:layout_width="fill_parent"
31     android:layout_height="wrap_content"
32     android:padding="4dip">
33
34     <TextView
35       android:id="@+id/origin_name"
36       android:layout_width="0dip"
37       android:layout_height="wrap_content"
38       android:layout_weight="1"
39       android:textColor="@color/black"
40       android:textStyle="bold"/>
41
42     <Button
43       android:id="@+id/origin_remove"
44       android:layout_width="wrap_content"
45       android:layout_height="wrap_content"
46       style="@style/gears_button"
47       android:text="@string/remove"/>
48
49   </LinearLayout>
50
51   <TableLayout
52     android:layout_width="fill_parent"
53     android:layout_height="wrap_content"
54     android:stretchColumns="0"
55     android:shrinkColumns="0">
56
57     <TableRow
58       android:id="@+id/local_storage_choice"
59       android:visibility="gone">
60
61       <TextView
62         android:layout_width="wrap_content"
63         android:layout_height="fill_parent"
64         android:textColor="@color/black"
65         android:gravity="center_vertical"
66         android:text="@string/local_storage"/>
67
68       <RadioGroup
69         android:orientation="horizontal"
70         android:layout_width="wrap_content"
71         android:layout_height="fill_parent">
72         <RadioButton
73           android:id="@+id/local_storage_allowed"
74           android:layout_width="wrap_content"
75           android:layout_height="wrap_content"
76           android:textColor="@color/black"
77           android:textSize="13dip"
78           android:text="@string/allowed"/>
79
80         <RadioButton
81           android:id="@+id/local_storage_denied"
82           android:layout_width="wrap_content"
83           android:layout_height="wrap_content"
84           android:textColor="@color/black"
85           android:textSize="13dip"
86           android:text="@string/denied"/>
87       </RadioGroup>
88
89     </TableRow>
90
91     <TableRow
92       android:id="@+id/location_data_choice"
93       android:visibility="gone">
94
95       <TextView
96         android:layout_width="wrap_content"
97         android:layout_height="fill_parent"
98         android:textColor="@color/black"
99         android:layout_gravity="center_vertical"
100         android:text="@string/location"/>
101
102       <RadioGroup
103         android:orientation="horizontal"
104         android:layout_width="wrap_content"
105         android:layout_height="fill_parent">
106         <RadioButton
107           android:id="@+id/location_data_allowed"
108           android:layout_width="wrap_content"
109           android:layout_height="wrap_content"
110           android:textColor="@color/black"
111           android:textSize="13dip"
112           android:text="@string/allowed"/>
113
114         <RadioButton
115           android:id="@+id/location_data_denied"
116           android:layout_width="wrap_content"
117           android:layout_height="wrap_content"
118           android:textColor="@color/black"
119           android:textSize="13dip"
120           android:text="@string/denied"/>
121       </RadioGroup>
122
123     </TableRow>
124
125   </TableLayout>
126
127 </LinearLayout>