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" />
136 android:id="@+id/info_size"
137 android:layout_width="match_parent"
138 android:layout_height="wrap_content"
139 android:orientation="horizontal"
140 android:baselineAligned="true"
141 android:paddingTop="-1dip">
143 android:id="@+id/data_size_prefix"
144 android:text="@string/data_size_label"
145 android:textAppearance="?android:attr/textAppearanceMedium"
146 android:layout_height="wrap_content"
147 android:layout_width="wrap_content"
149 android:paddingTop="6dip"
150 android:paddingLeft="6dip"/>
152 android:id="@+id/info_size_dots"
153 android:src="@drawable/dotted_line_480px"
154 android:layout_width="0dip"
155 android:layout_weight="1"
156 android:layout_height="1px"
157 android:layout_gravity="bottom"
158 android:layout_marginLeft="1dip"
159 android:layout_marginRight="1dip"
160 android:layout_marginBottom="4dip"
161 android:scaleType="center" />
163 android:id="@+id/data_size_text"
164 android:textAppearance="?android:attr/textAppearanceMedium"
165 android:paddingTop="6dip"
166 android:paddingRight="6dip"
167 android:layout_height="wrap_content"
168 android:layout_width="wrap_content"
169 android:maxLines="1" />
172 <!-- Clear data and install location buttons -->
174 layout="@layout/two_buttons_panel"
175 android:id="@+id/data_buttons_panel"/>
179 <!-- Clear cache section -->
181 android:id="@+id/cache_panel"
182 android:layout_width="match_parent"
183 android:layout_height="wrap_content" >
185 android:id="@+id/cache_header"
186 style="?android:attr/listSeparatorTextViewStyle"
187 android:text="@string/cache_header_label" />
189 android:id="@+id/cache_size"
190 android:layout_width="match_parent"
191 android:layout_height="wrap_content"
192 android:orientation="horizontal"
193 android:baselineAligned="true"
194 android:layout_below="@id/cache_header"
195 android:paddingTop="-1dip">
197 android:text="@string/cache_size_label"
198 android:layout_height="wrap_content"
199 android:layout_width="wrap_content"
201 android:textAppearance="?android:attr/textAppearanceMedium"
202 android:paddingTop="6dip"
203 android:gravity="center_vertical"
204 android:paddingLeft="6dip"/>
206 android:src="@drawable/dotted_line_480px"
207 android:layout_width="0dip"
208 android:layout_weight="1"
209 android:layout_height="1px"
210 android:layout_gravity="bottom"
211 android:layout_marginLeft="1dip"
212 android:layout_marginRight="1dip"
213 android:layout_marginBottom="4dip"
214 android:scaleType="center" />
216 android:id="@+id/cache_size_text"
217 android:textAppearance="?android:attr/textAppearanceMedium"
218 android:paddingTop="6dip"
219 android:paddingRight="6dip"
220 android:layout_height="wrap_content"
221 android:layout_width="wrap_content"
222 android:maxLines="1" />
225 <Button android:id="@+id/clear_cache_button"
226 android:layout_alignParentRight="true"
227 android:layout_below="@id/cache_size"
228 android:layout_centerHorizontal="true"
229 android:layout_width="150dip"
230 android:text="@string/clear_cache_btn_text"
231 android:layout_height="wrap_content" />
234 <!-- Prefered activities section -->
236 style="?android:attr/listSeparatorTextViewStyle"
237 android:text="@string/auto_launch_label" />
240 android:layout_width="match_parent"
241 android:layout_height="wrap_content"
242 android:layout_gravity="center_vertical">
243 <TextView android:id="@+id/auto_launch"
244 android:textAppearance="?android:attr/textAppearanceSmall"
245 android:layout_alignParentLeft="true"
246 android:layout_width="match_parent"
247 android:layout_height="wrap_content"
248 android:paddingTop="6dip"
249 android:paddingRight="6dip"
250 android:paddingLeft="6dip" />
251 <Button android:id="@+id/clear_activities_button"
252 android:layout_alignParentRight="true"
253 android:layout_below="@id/auto_launch"
254 android:layout_centerHorizontal="true"
255 android:layout_width="150dip"
256 android:text="@string/clear_activities"
257 android:layout_height="wrap_content" />
260 <!-- Permissions section -->
262 android:id="@+id/permissions_section"
263 android:layout_width="match_parent"
264 android:layout_height="match_parent"
265 android:orientation="vertical">
267 style="?android:attr/listSeparatorTextViewStyle"
268 android:text="@string/permissions_label" />
270 android:text="@string/security_settings_desc"
271 android:textAppearance="?android:attr/textAppearanceSmall"
272 android:paddingTop="6dip"
273 android:paddingLeft="6dip"
274 android:paddingBottom="6dip"
275 android:layout_width="match_parent"
276 android:layout_height="wrap_content" />
278 android:id="@+id/security_settings_list"
279 android:layout_width="match_parent"
280 android:layout_height="match_parent"
281 android:orientation="vertical"/>