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:paddingTop="5dip"
29 android:paddingBottom="5dip"
30 android:orientation="vertical">
32 <!-- App snippet with buttons -->
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
36 android:layout_gravity="center_vertical"
37 android:orientation="vertical"
38 android:paddingRight="6dip"
39 android:paddingLeft="6dip"
40 android:paddingTop="5dip"
41 android:paddingBottom="5dip" >
43 <!-- Application snippet label, version and icon -->
45 layout="@layout/manage_applications_item"
46 android:id="@+id/app_snippet"/>
48 <!-- Force stop and uninstall buttons -->
50 layout="@layout/two_buttons_panel"
51 android:id="@+id/control_buttons_panel"/>
55 style="?android:attr/listSeparatorTextViewStyle"
56 android:text="@string/storage_label" />
59 android:layout_width="match_parent"
60 android:layout_height="wrap_content"
61 android:paddingLeft="6dip"
62 android:orientation="vertical">
64 android:layout_width="match_parent"
65 android:layout_height="wrap_content"
66 android:orientation="horizontal"
67 android:baselineAligned="true"
68 android:paddingTop="-1dip">
70 android:id="@+id/total_size_prefix"
71 android:text="@string/total_size_label"
72 android:textAppearance="?android:attr/textAppearanceMedium"
73 android:layout_height="wrap_content"
74 android:layout_width="wrap_content"
76 android:paddingTop="6dip"
77 android:paddingLeft="6dip"/>
80 android:id="@+id/info_size_dots"
81 android:src="@drawable/dotted_line_480px"
82 android:layout_width="0dip"
83 android:layout_weight="1"
84 android:layout_height="1px"
85 android:layout_gravity="bottom"
86 android:layout_marginLeft="1dip"
87 android:layout_marginRight="1dip"
88 android:layout_marginBottom="4dip"
89 android:scaleType="center" />
91 android:id="@+id/total_size_text"
92 android:paddingTop="6dip"
93 android:paddingRight="6dip"
94 android:textAppearance="?android:attr/textAppearanceMedium"
95 android:layout_height="wrap_content"
96 android:layout_width="wrap_content"
97 android:maxLines="1" />
101 android:layout_width="match_parent"
102 android:layout_height="wrap_content"
103 android:orientation="horizontal"
104 android:baselineAligned="true"
105 android:paddingTop="-1dip">
107 android:id="@+id/application_size_prefix"
108 android:text="@string/application_size_label"
109 android:textAppearance="?android:attr/textAppearanceMedium"
110 android:layout_height="wrap_content"
111 android:layout_width="wrap_content"
113 android:paddingTop="6dip"
114 android:paddingLeft="6dip"/>
116 android:id="@+id/info_size_dots"
117 android:src="@drawable/dotted_line_480px"
118 android:layout_width="0dip"
119 android:layout_weight="1"
120 android:layout_height="1px"
121 android:layout_gravity="bottom"
122 android:layout_marginLeft="1dip"
123 android:layout_marginRight="1dip"
124 android:layout_marginBottom="4dip"
125 android:scaleType="center" />
127 android:id="@+id/application_size_text"
128 android:textAppearance="?android:attr/textAppearanceMedium"
129 android:paddingTop="6dip"
130 android:paddingRight="6dip"
131 android:layout_height="wrap_content"
132 android:layout_width="wrap_content"
133 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" />
173 <!-- Clear data and install location buttons -->
175 layout="@layout/two_buttons_panel"
176 android:id="@+id/data_buttons_panel"/>
180 <!-- Clear cache section -->
182 android:id="@+id/cache_panel"
183 android:layout_width="match_parent"
184 android:layout_height="wrap_content" >
186 android:id="@+id/cache_header"
187 style="?android:attr/listSeparatorTextViewStyle"
188 android:text="@string/cache_header_label" />
190 android:id="@+id/cache_size"
191 android:layout_width="match_parent"
192 android:layout_height="wrap_content"
193 android:orientation="horizontal"
194 android:baselineAligned="true"
195 android:layout_below="@id/cache_header"
196 android:paddingTop="-1dip">
198 android:text="@string/cache_size_label"
199 android:layout_height="wrap_content"
200 android:layout_width="wrap_content"
202 android:textAppearance="?android:attr/textAppearanceMedium"
203 android:paddingTop="6dip"
204 android:gravity="center_vertical"
205 android:paddingLeft="6dip"/>
207 android:src="@drawable/dotted_line_480px"
208 android:layout_width="0dip"
209 android:layout_weight="1"
210 android:layout_height="1px"
211 android:layout_gravity="bottom"
212 android:layout_marginLeft="1dip"
213 android:layout_marginRight="1dip"
214 android:layout_marginBottom="4dip"
215 android:scaleType="center" />
217 android:id="@+id/cache_size_text"
218 android:textAppearance="?android:attr/textAppearanceMedium"
219 android:paddingTop="6dip"
220 android:paddingRight="6dip"
221 android:layout_height="wrap_content"
222 android:layout_width="wrap_content"
223 android:maxLines="1" />
226 <Button android:id="@+id/clear_cache_button"
227 android:layout_alignParentRight="true"
228 android:layout_below="@id/cache_size"
229 android:layout_centerHorizontal="true"
230 android:layout_width="150dip"
231 android:text="@string/clear_cache_btn_text"
232 android:layout_height="wrap_content" />
235 <!-- Prefered activities section -->
237 style="?android:attr/listSeparatorTextViewStyle"
238 android:text="@string/auto_launch_label" />
241 android:layout_width="match_parent"
242 android:layout_height="wrap_content"
243 android:layout_gravity="center_vertical">
244 <TextView android:id="@+id/auto_launch"
245 android:textAppearance="?android:attr/textAppearanceSmall"
246 android:layout_alignParentLeft="true"
247 android:layout_width="match_parent"
248 android:layout_height="wrap_content"
249 android:paddingTop="6dip"
250 android:paddingRight="6dip"
251 android:paddingLeft="6dip" />
252 <Button android:id="@+id/clear_activities_button"
253 android:layout_alignParentRight="true"
254 android:layout_below="@id/auto_launch"
255 android:layout_centerHorizontal="true"
256 android:layout_width="150dip"
257 android:text="@string/clear_activities"
258 android:layout_height="wrap_content" />
261 <!-- Permissions section -->
263 android:id="@+id/permissions_section"
264 android:layout_width="match_parent"
265 android:layout_height="match_parent"
266 android:orientation="vertical">
268 style="?android:attr/listSeparatorTextViewStyle"
269 android:text="@string/permissions_label" />
271 android:text="@string/security_settings_desc"
272 android:textAppearance="?android:attr/textAppearanceSmall"
273 android:paddingTop="6dip"
274 android:paddingLeft="6dip"
275 android:paddingBottom="6dip"
276 android:layout_width="match_parent"
277 android:layout_height="wrap_content" />
279 android:id="@+id/security_settings_list"
280 android:layout_width="match_parent"
281 android:layout_height="match_parent"
282 android:orientation="vertical"/>