The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 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 | <ScrollView |
| 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 21 | android:layout_width="fill_parent" |
| 22 | android:layout_height="fill_parent"> |
| 23 | <LinearLayout |
| 24 | android:id="@+id/all_details" |
| 25 | android:layout_width="fill_parent" |
| 26 | android:layout_height="fill_parent" |
| 27 | android:orientation="vertical"> |
| 28 | <RelativeLayout |
| 29 | android:layout_width="fill_parent" |
| 30 | android:layout_height="wrap_content" |
| 31 | android:layout_gravity="center_vertical"> |
| 32 | <TextView android:id="@+id/app_name" |
| 33 | android:layout_width="wrap_content" |
| 34 | android:layout_height="wrap_content" |
| 35 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 36 | android:textColor="?android:attr/textColorPrimary" |
| 37 | android:layout_alignParentTop="true" |
| 38 | android:layout_alignParentLeft="true" |
| 39 | android:paddingTop="6dip" |
| 40 | android:paddingRight="6dip" |
| 41 | android:paddingLeft="6dip" /> |
| 42 | |
| 43 | <TextView android:id="@+id/app_description" |
| 44 | android:layout_width="wrap_content" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 47 | android:layout_below="@id/app_name" |
| 48 | android:layout_alignParentLeft="true" |
| 49 | android:paddingTop="6dip" |
| 50 | android:paddingBottom="6dip" |
| 51 | android:paddingRight="6dip" |
| 52 | android:paddingLeft="6dip" /> |
| 53 | <ImageView android:id="@+id/app_icon" |
| 54 | android:layout_width="@android:dimen/app_icon_size" |
| 55 | android:layout_height="@android:dimen/app_icon_size" |
| 56 | android:layout_alignParentRight="true" |
| 57 | android:paddingTop="6dip" |
| 58 | android:paddingBottom="6dip" |
| 59 | android:paddingRight="6dip" |
| 60 | android:scaleType="fitCenter" /> |
| 61 | </RelativeLayout> |
| 62 | |
| 63 | <TextView |
| 64 | style="?android:attr/listSeparatorTextViewStyle" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 65 | android:text="@string/storage_label" /> |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 66 | |
| 67 | <LinearLayout |
| 68 | android:layout_width="fill_parent" |
| 69 | android:layout_height="wrap_content" |
| 70 | android:paddingLeft="6dip" |
| 71 | android:orientation="vertical"> |
| 72 | <LinearLayout |
| 73 | android:layout_width="fill_parent" |
| 74 | android:layout_height="wrap_content" |
| 75 | android:orientation="horizontal" |
| 76 | android:baselineAligned="true" |
| 77 | android:paddingTop="-1dip"> |
| 78 | <TextView |
| 79 | android:id="@+id/total_size_prefix" |
| 80 | android:text="@string/total_size_label" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 81 | android:textAppearance="?android:attr/textAppearanceMedium" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 82 | android:layout_height="wrap_content" |
| 83 | android:layout_width="wrap_content" |
| 84 | android:maxLines="1" |
| 85 | android:paddingTop="6dip" |
| 86 | android:paddingLeft="6dip"/> |
| 87 | |
| 88 | <ImageView |
| 89 | android:id="@+id/info_size_dots" |
| 90 | android:src="@drawable/dotted_line_480px" |
| 91 | android:layout_width="0dip" |
| 92 | android:layout_weight="1" |
| 93 | android:layout_height="1px" |
| 94 | android:layout_gravity="bottom" |
| 95 | android:layout_marginLeft="1dip" |
| 96 | android:layout_marginRight="1dip" |
| 97 | android:layout_marginBottom="4dip" |
| 98 | android:scaleType="center" /> |
| 99 | <TextView |
| 100 | android:id="@+id/total_size_text" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 101 | android:paddingTop="6dip" |
| 102 | android:paddingRight="6dip" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 103 | android:textAppearance="?android:attr/textAppearanceMedium" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 104 | android:layout_height="wrap_content" |
| 105 | android:layout_width="wrap_content" |
| 106 | android:maxLines="1" /> |
| 107 | |
| 108 | </LinearLayout> |
| 109 | <LinearLayout |
| 110 | android:layout_width="fill_parent" |
| 111 | android:layout_height="wrap_content" |
| 112 | android:orientation="horizontal" |
| 113 | android:baselineAligned="true" |
| 114 | android:paddingTop="-1dip"> |
| 115 | <TextView |
| 116 | android:id="@+id/application_size_prefix" |
| 117 | android:text="@string/application_size_label" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 118 | android:textAppearance="?android:attr/textAppearanceMedium" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 119 | android:layout_height="wrap_content" |
| 120 | android:layout_width="wrap_content" |
| 121 | android:maxLines="1" |
| 122 | android:paddingTop="6dip" |
| 123 | android:paddingLeft="6dip"/> |
| 124 | <ImageView |
| 125 | android:id="@+id/info_size_dots" |
| 126 | android:src="@drawable/dotted_line_480px" |
| 127 | android:layout_width="0dip" |
| 128 | android:layout_weight="1" |
| 129 | android:layout_height="1px" |
| 130 | android:layout_gravity="bottom" |
| 131 | android:layout_marginLeft="1dip" |
| 132 | android:layout_marginRight="1dip" |
| 133 | android:layout_marginBottom="4dip" |
| 134 | android:scaleType="center" /> |
| 135 | <TextView |
| 136 | android:id="@+id/application_size_text" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 137 | android:textAppearance="?android:attr/textAppearanceMedium" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 138 | android:paddingTop="6dip" |
| 139 | android:paddingRight="6dip" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 140 | android:layout_height="wrap_content" |
| 141 | android:layout_width="wrap_content" |
| 142 | android:maxLines="1" /> |
| 143 | |
| 144 | </LinearLayout> |
| 145 | <LinearLayout |
| 146 | android:id="@+id/info_size" |
| 147 | android:layout_width="fill_parent" |
| 148 | android:layout_height="wrap_content" |
| 149 | android:orientation="horizontal" |
| 150 | android:baselineAligned="true" |
| 151 | android:paddingTop="-1dip"> |
| 152 | <TextView |
| 153 | android:id="@+id/data_size_prefix" |
| 154 | android:text="@string/data_size_label" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 155 | android:textAppearance="?android:attr/textAppearanceMedium" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 156 | android:layout_height="wrap_content" |
| 157 | android:layout_width="wrap_content" |
| 158 | android:maxLines="1" |
| 159 | android:paddingTop="6dip" |
| 160 | android:paddingLeft="6dip"/> |
| 161 | <ImageView |
| 162 | android:id="@+id/info_size_dots" |
| 163 | android:src="@drawable/dotted_line_480px" |
| 164 | android:layout_width="0dip" |
| 165 | android:layout_weight="1" |
| 166 | android:layout_height="1px" |
| 167 | android:layout_gravity="bottom" |
| 168 | android:layout_marginLeft="1dip" |
| 169 | android:layout_marginRight="1dip" |
| 170 | android:layout_marginBottom="4dip" |
| 171 | android:scaleType="center" /> |
| 172 | <TextView |
| 173 | android:id="@+id/data_size_text" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 174 | android:textAppearance="?android:attr/textAppearanceMedium" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 175 | android:paddingTop="6dip" |
| 176 | android:paddingRight="6dip" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 177 | android:layout_height="wrap_content" |
| 178 | android:layout_width="wrap_content" |
| 179 | android:maxLines="1" /> |
| 180 | |
| 181 | </LinearLayout> |
| 182 | <!-- Manage space, Clear data/Uninstall buttons --> |
| 183 | <LinearLayout |
| 184 | android:layout_width="fill_parent" |
| 185 | android:layout_height="wrap_content" |
| 186 | android:gravity="bottom" |
| 187 | android:orientation="horizontal"> |
| 188 | <Button |
| 189 | android:id="@+id/manage_space_button" |
| 190 | android:text="@string/manage_space_text" |
| 191 | android:visibility="invisible" |
| 192 | android:layout_width="150dip" |
| 193 | android:paddingLeft="6dip" |
| 194 | android:layout_gravity="left" |
| 195 | android:layout_weight="0.4" |
| 196 | android:layout_height="wrap_content"/> |
| 197 | <!-- Spacer --> |
| 198 | <View |
| 199 | android:id="@+id/buttons_spacer_left" |
| 200 | android:layout_width="0dip" |
| 201 | android:layout_height="wrap_content" |
| 202 | android:layout_weight="0.2" |
| 203 | android:visibility="gone" /> |
| 204 | |
| 205 | <Button |
| 206 | android:id="@+id/uninstall_button" |
| 207 | android:layout_width="150dip" |
| 208 | android:paddingRight="6dip" |
| 209 | android:layout_gravity="right" |
| 210 | android:layout_weight="0.4" |
| 211 | android:layout_height="wrap_content"/> |
| 212 | </LinearLayout> |
| 213 | </LinearLayout> |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 214 | |
| 215 | <!-- Clear cache section --> |
| 216 | <RelativeLayout |
| 217 | android:id="@+id/cache_panel" |
| 218 | android:layout_width="fill_parent" |
| 219 | android:layout_height="wrap_content" > |
| 220 | <TextView |
| 221 | android:id="@+id/cache_header" |
| 222 | style="?android:attr/listSeparatorTextViewStyle" |
| 223 | android:text="@string/cache_header_label" /> |
| 224 | <LinearLayout |
| 225 | android:id="@+id/cache_size" |
| 226 | android:layout_width="fill_parent" |
| 227 | android:layout_height="wrap_content" |
| 228 | android:orientation="horizontal" |
| 229 | android:baselineAligned="true" |
| 230 | android:layout_below="@id/cache_header" |
| 231 | android:paddingTop="-1dip"> |
| 232 | <TextView |
| 233 | android:text="@string/cache_size_label" |
| 234 | android:layout_height="wrap_content" |
| 235 | android:layout_width="wrap_content" |
| 236 | android:maxLines="1" |
| 237 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 238 | android:paddingTop="6dip" |
| 239 | android:gravity="center_vertical" |
| 240 | android:paddingLeft="6dip"/> |
| 241 | <ImageView |
| 242 | android:src="@drawable/dotted_line_480px" |
| 243 | android:layout_width="0dip" |
| 244 | android:layout_weight="1" |
| 245 | android:layout_height="1px" |
| 246 | android:layout_gravity="bottom" |
| 247 | android:layout_marginLeft="1dip" |
| 248 | android:layout_marginRight="1dip" |
| 249 | android:layout_marginBottom="4dip" |
| 250 | android:scaleType="center" /> |
| 251 | <TextView |
| 252 | android:id="@+id/cache_size_text" |
| 253 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 254 | android:paddingTop="6dip" |
| 255 | android:paddingRight="6dip" |
| 256 | android:layout_height="wrap_content" |
| 257 | android:layout_width="wrap_content" |
| 258 | android:maxLines="1" /> |
| 259 | </LinearLayout> |
| 260 | |
| 261 | <Button android:id="@+id/clear_cache_button" |
| 262 | android:layout_alignParentRight="true" |
| 263 | android:layout_below="@id/cache_size" |
| 264 | android:layout_centerHorizontal="true" |
| 265 | android:layout_width="150dip" |
| 266 | android:text="@string/clear_cache_btn_text" |
| 267 | android:layout_height="wrap_content" /> |
| 268 | </RelativeLayout> |
| 269 | |
| 270 | <!-- Prefered activities section --> |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 271 | <TextView |
| 272 | style="?android:attr/listSeparatorTextViewStyle" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 273 | android:text="@string/auto_launch_label" /> |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 274 | |
| 275 | <RelativeLayout |
| 276 | android:layout_width="fill_parent" |
| 277 | android:layout_height="wrap_content" |
| 278 | android:layout_gravity="center_vertical"> |
| 279 | <TextView android:id="@+id/auto_launch" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 280 | android:textAppearance="?android:attr/textAppearanceSmall" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 281 | android:layout_alignParentLeft="true" |
| 282 | android:layout_width="fill_parent" |
| 283 | android:layout_height="wrap_content" |
| 284 | android:paddingTop="6dip" |
| 285 | android:paddingRight="6dip" |
| 286 | android:paddingLeft="6dip" /> |
| 287 | <Button android:id="@+id/clear_activities_button" |
| 288 | android:layout_alignParentRight="true" |
| 289 | android:layout_below="@id/auto_launch" |
| 290 | android:layout_centerHorizontal="true" |
| 291 | android:layout_width="150dip" |
| 292 | android:text="@string/clear_activities" |
| 293 | android:layout_height="wrap_content" /> |
| 294 | </RelativeLayout> |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 295 | |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 296 | <!-- Permissions section --> |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 297 | <LinearLayout |
| 298 | android:id="@+id/permissions_section" |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 299 | android:layout_width="fill_parent" |
| 300 | android:layout_height="fill_parent" |
The Android Open Source Project | abc48f8 | 2008-12-17 18:06:01 -0800 | [diff] [blame^] | 301 | android:orientation="vertical"> |
| 302 | <TextView |
| 303 | style="?android:attr/listSeparatorTextViewStyle" |
| 304 | android:text="@string/permissions_label" /> |
| 305 | <TextView |
| 306 | android:text="@string/security_settings_desc" |
| 307 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 308 | android:paddingTop="6dip" |
| 309 | android:paddingLeft="6dip" |
| 310 | android:paddingBottom="6dip" |
| 311 | android:layout_width="fill_parent" |
| 312 | android:layout_height="wrap_content" /> |
| 313 | <LinearLayout |
| 314 | android:id="@+id/security_settings_list" |
| 315 | android:layout_width="fill_parent" |
| 316 | android:layout_height="fill_parent" |
| 317 | android:orientation="vertical"/> |
| 318 | </LinearLayout> |
The Android Open Source Project | de2d9f5 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 319 | </LinearLayout> |
| 320 | </ScrollView> |
| 321 | |