1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2008, The Android Open Source Project
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
10 ** http://www.apache.org/licenses/LICENSE-2.0
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.
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent">
24 android:id="@+id/all_details"
25 android:layout_width="match_parent"
26 android:layout_height="match_parent"
27 android:paddingRight="6dip"
28 android:paddingBottom="5dip"
29 android:orientation="vertical">
31 <!-- App snippet with buttons -->
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 android:layout_gravity="center_vertical"
36 android:orientation="vertical"
37 android:paddingRight="6dip"
38 android:paddingLeft="6dip"
39 android:paddingTop="5dip"
40 android:paddingBottom="5dip" >
42 <!-- Application snippet label, version and icon -->
44 layout="@layout/manage_applications_item"
45 android:id="@+id/app_snippet"/>
47 <!-- Force stop and uninstall buttons -->
49 layout="@layout/two_buttons_panel"
50 android:id="@+id/control_buttons_panel"/>
54 style="?android:attr/listSeparatorTextViewStyle"
55 android:text="@string/storage_label" />
58 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
60 android:paddingLeft="6dip"
61 android:orientation="vertical">
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 android:orientation="horizontal"
66 android:baselineAligned="true"
67 android:paddingTop="-1dip">
69 android:id="@+id/total_size_prefix"
70 android:text="@string/total_size_label"
71 android:textAppearance="?android:attr/textAppearanceMedium"
72 android:layout_height="wrap_content"
73 android:layout_width="wrap_content"
75 android:paddingTop="6dip"
76 android:paddingLeft="6dip"/>
79 android:id="@+id/info_size_dots"
80 android:src="@drawable/dotted_line_480px"
81 android:layout_width="0dip"
82 android:layout_weight="1"
83 android:layout_height="1px"
84 android:layout_gravity="bottom"
85 android:layout_marginLeft="1dip"
86 android:layout_marginRight="1dip"
87 android:layout_marginBottom="4dip"
88 android:scaleType="center" />
90 android:id="@+id/total_size_text"
91 android:paddingTop="6dip"
92 android:paddingRight="6dip"
93 android:textAppearance="?android:attr/textAppearanceMedium"
94 android:layout_height="wrap_content"
95 android:layout_width="wrap_content"
96 android:maxLines="1" />
100 android:layout_width="match_parent"
101 android:layout_height="wrap_content"
102 android:orientation="horizontal"
103 android:baselineAligned="true"
104 android:paddingTop="-1dip">
106 android:id="@+id/application_size_prefix"
107 android:text="@string/application_size_label"
108 android:textAppearance="?android:attr/textAppearanceMedium"
109 android:layout_height="wrap_content"
110 android:layout_width="wrap_content"
112 android:paddingTop="6dip"
113 android:paddingLeft="6dip"/>
115 android:id="@+id/info_size_dots"
116 android:src="@drawable/dotted_line_480px"
117 android:layout_width="0dip"
118 android:layout_weight="1"
119 android:layout_height="1px"
120 android:layout_gravity="bottom"
121 android:layout_marginLeft="1dip"
122 android:layout_marginRight="1dip"
123 android:layout_marginBottom="4dip"
124 android:scaleType="center" />
126 android:id="@+id/application_size_text"
127 android:textAppearance="?android:attr/textAppearanceMedium"
128 android:paddingTop="6dip"
129 android:paddingRight="6dip"
130 android:layout_height="wrap_content"
131 android:layout_width="wrap_content"
132 android:maxLines="1" />
137 android:id="@+id/info_size"
138 android:layout_width="match_parent"
139 android:layout_height="wrap_content"
140 android:orientation="horizontal"
141 android:baselineAligned="true"
142 android:paddingTop="-1dip">
144 android:id="@+id/data_size_prefix"
145 android:text="@string/data_size_label"
146 android:textAppearance="?android:attr/textAppearanceMedium"
147 android:layout_height="wrap_content"
148 android:layout_width="wrap_content"
150 android:paddingTop="6dip"
151 android:paddingLeft="6dip"/>
153 android:id="@+id/info_size_dots"
154 android:src="@drawable/dotted_line_480px"
155 android:layout_width="0dip"
156 android:layout_weight="1"
157 android:layout_height="1px"
158 android:layout_gravity="bottom"
159 android:layout_marginLeft="1dip"
160 android:layout_marginRight="1dip"
161 android:layout_marginBottom="4dip"
162 android:scaleType="center" />
164 android:id="@+id/data_size_text"
165 android:textAppearance="?android:attr/textAppearanceMedium"
166 android:paddingTop="6dip"
167 android:paddingRight="6dip"
168 android:layout_height="wrap_content"
169 android:layout_width="wrap_content"
170 android:maxLines="1" />
175 android:layout_width="match_parent"
176 android:layout_height="wrap_content"
177 android:orientation="horizontal"
178 android:baselineAligned="true"
179 android:paddingTop="-1dip">
181 android:id="@+id/external_size_prefix"
182 android:text="@string/external_size_label"
183 android:textAppearance="?android:attr/textAppearanceMedium"
184 android:layout_height="wrap_content"
185 android:layout_width="wrap_content"
187 android:paddingTop="6dip"
188 android:paddingLeft="6dip"/>
190 android:id="@+id/info_size_dots"
191 android:src="@drawable/dotted_line_480px"
192 android:layout_width="0dip"
193 android:layout_weight="1"
194 android:layout_height="1px"
195 android:layout_gravity="bottom"
196 android:layout_marginLeft="1dip"
197 android:layout_marginRight="1dip"
198 android:layout_marginBottom="4dip"
199 android:scaleType="center" />
201 android:id="@+id/external_size_text"
202 android:textAppearance="?android:attr/textAppearanceMedium"
203 android:paddingTop="6dip"
204 android:paddingRight="6dip"
205 android:layout_height="wrap_content"
206 android:layout_width="wrap_content"
207 android:maxLines="1" />
211 <!-- Clear data and install location buttons -->
213 layout="@layout/two_buttons_panel"
214 android:id="@+id/data_buttons_panel"/>
218 <!-- Clear cache section -->
220 android:id="@+id/cache_panel"
221 android:layout_width="match_parent"
222 android:layout_height="wrap_content" >
224 android:id="@+id/cache_header"
225 style="?android:attr/listSeparatorTextViewStyle"
226 android:text="@string/cache_header_label" />
228 android:id="@+id/cache_size"
229 android:layout_width="match_parent"
230 android:layout_height="wrap_content"
231 android:orientation="horizontal"
232 android:baselineAligned="true"
233 android:layout_below="@id/cache_header"
234 android:paddingTop="-1dip">
236 android:text="@string/cache_size_label"
237 android:layout_height="wrap_content"
238 android:layout_width="wrap_content"
240 android:textAppearance="?android:attr/textAppearanceMedium"
241 android:paddingTop="6dip"
242 android:gravity="center_vertical"
243 android:paddingLeft="6dip"/>
245 android:src="@drawable/dotted_line_480px"
246 android:layout_width="0dip"
247 android:layout_weight="1"
248 android:layout_height="1px"
249 android:layout_gravity="bottom"
250 android:layout_marginLeft="1dip"
251 android:layout_marginRight="1dip"
252 android:layout_marginBottom="4dip"
253 android:scaleType="center" />
255 android:id="@+id/cache_size_text"
256 android:textAppearance="?android:attr/textAppearanceMedium"
257 android:paddingTop="6dip"
258 android:paddingRight="6dip"
259 android:layout_height="wrap_content"
260 android:layout_width="wrap_content"
261 android:maxLines="1" />
264 <Button android:id="@+id/clear_cache_button"
265 android:layout_alignParentRight="true"
266 android:layout_below="@id/cache_size"
267 android:layout_centerHorizontal="true"
268 android:layout_width="150dip"
269 android:text="@string/clear_cache_btn_text"
270 android:layout_height="wrap_content" />
273 <!-- Prefered activities section -->
275 style="?android:attr/listSeparatorTextViewStyle"
276 android:text="@string/auto_launch_label" />
279 android:layout_width="match_parent"
280 android:layout_height="wrap_content"
281 android:layout_gravity="center_vertical">
282 <TextView android:id="@+id/auto_launch"
283 android:textAppearance="?android:attr/textAppearanceSmall"
284 android:layout_alignParentLeft="true"
285 android:layout_width="match_parent"
286 android:layout_height="wrap_content"
287 android:paddingTop="6dip"
288 android:paddingRight="6dip"
289 android:paddingLeft="6dip" />
290 <Button android:id="@+id/clear_activities_button"
291 android:layout_alignParentRight="true"
292 android:layout_below="@id/auto_launch"
293 android:layout_centerHorizontal="true"
294 android:layout_width="150dip"
295 android:text="@string/clear_activities"
296 android:layout_height="wrap_content" />
299 <!-- Permissions section -->
301 android:id="@+id/permissions_section"
302 android:layout_width="match_parent"
303 android:layout_height="match_parent"
304 android:orientation="vertical">
306 style="?android:attr/listSeparatorTextViewStyle"
307 android:text="@string/permissions_label" />
309 android:text="@string/security_settings_desc"
310 android:textAppearance="?android:attr/textAppearanceSmall"
311 android:paddingTop="6dip"
312 android:paddingLeft="6dip"
313 android:paddingBottom="6dip"
314 android:layout_width="match_parent"
315 android:layout_height="wrap_content" />
317 android:id="@+id/security_settings_list"
318 android:layout_width="match_parent"
319 android:layout_height="match_parent"
320 android:orientation="vertical"/>