280 lines
12 KiB
XML
280 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2008, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
<LinearLayout
|
|
android:id="@+id/all_details"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical">
|
|
<TextView android:id="@+id/app_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:paddingTop="6dip"
|
|
android:paddingRight="6dip"
|
|
android:paddingLeft="6dip" />
|
|
|
|
<TextView android:id="@+id/app_description"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:layout_below="@id/app_name"
|
|
android:layout_alignParentLeft="true"
|
|
android:paddingTop="6dip"
|
|
android:paddingBottom="6dip"
|
|
android:paddingRight="6dip"
|
|
android:paddingLeft="6dip" />
|
|
<ImageView android:id="@+id/app_icon"
|
|
android:layout_width="@android:dimen/app_icon_size"
|
|
android:layout_height="@android:dimen/app_icon_size"
|
|
android:layout_alignParentRight="true"
|
|
android:paddingTop="6dip"
|
|
android:paddingBottom="6dip"
|
|
android:paddingRight="6dip"
|
|
android:scaleType="fitCenter" />
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
style="?android:attr/listSeparatorTextViewStyle"
|
|
android:text="@string/storage_label"
|
|
android:background="@*android:drawable/settings_header"
|
|
android:textSize="18sp"
|
|
android:paddingTop="6dip"
|
|
android:paddingLeft="6dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="6dip"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:baselineAligned="true"
|
|
android:paddingTop="-1dip">
|
|
<TextView
|
|
android:id="@+id/total_size_prefix"
|
|
android:text="@string/total_size_label"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="18sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:maxLines="1"
|
|
android:paddingTop="6dip"
|
|
android:paddingLeft="6dip"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/info_size_dots"
|
|
android:src="@drawable/dotted_line_480px"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1"
|
|
android:layout_height="1px"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginLeft="1dip"
|
|
android:layout_marginRight="1dip"
|
|
android:layout_marginBottom="4dip"
|
|
android:scaleType="center" />
|
|
<TextView
|
|
android:id="@+id/total_size_text"
|
|
android:textSize="18sp"
|
|
android:paddingTop="6dip"
|
|
android:paddingRight="6dip"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:maxLines="1" />
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:baselineAligned="true"
|
|
android:paddingTop="-1dip">
|
|
<TextView
|
|
android:id="@+id/application_size_prefix"
|
|
android:text="@string/application_size_label"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="18sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:maxLines="1"
|
|
android:paddingTop="6dip"
|
|
android:paddingLeft="6dip"/>
|
|
<ImageView
|
|
android:id="@+id/info_size_dots"
|
|
android:src="@drawable/dotted_line_480px"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1"
|
|
android:layout_height="1px"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginLeft="1dip"
|
|
android:layout_marginRight="1dip"
|
|
android:layout_marginBottom="4dip"
|
|
android:scaleType="center" />
|
|
<TextView
|
|
android:id="@+id/application_size_text"
|
|
android:textSize="18sp"
|
|
android:paddingTop="6dip"
|
|
android:paddingRight="6dip"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:maxLines="1" />
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/info_size"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:baselineAligned="true"
|
|
android:paddingTop="-1dip">
|
|
<TextView
|
|
android:id="@+id/data_size_prefix"
|
|
android:text="@string/data_size_label"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="18sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:maxLines="1"
|
|
android:paddingTop="6dip"
|
|
android:paddingLeft="6dip"/>
|
|
<ImageView
|
|
android:id="@+id/info_size_dots"
|
|
android:src="@drawable/dotted_line_480px"
|
|
android:layout_width="0dip"
|
|
android:layout_weight="1"
|
|
android:layout_height="1px"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginLeft="1dip"
|
|
android:layout_marginRight="1dip"
|
|
android:layout_marginBottom="4dip"
|
|
android:scaleType="center" />
|
|
<TextView
|
|
android:id="@+id/data_size_text"
|
|
android:textSize="18sp"
|
|
android:paddingTop="6dip"
|
|
android:paddingRight="6dip"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:maxLines="1" />
|
|
|
|
</LinearLayout>
|
|
<!-- Manage space, Clear data/Uninstall buttons -->
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="bottom"
|
|
android:orientation="horizontal">
|
|
<Button
|
|
android:id="@+id/manage_space_button"
|
|
android:text="@string/manage_space_text"
|
|
android:visibility="invisible"
|
|
android:layout_width="150dip"
|
|
android:paddingLeft="6dip"
|
|
android:layout_gravity="left"
|
|
android:layout_weight="0.4"
|
|
android:layout_height="wrap_content"/>
|
|
<!-- Spacer -->
|
|
<View
|
|
android:id="@+id/buttons_spacer_left"
|
|
android:layout_width="0dip"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.2"
|
|
android:visibility="gone" />
|
|
|
|
<Button
|
|
android:id="@+id/uninstall_button"
|
|
android:layout_width="150dip"
|
|
android:paddingRight="6dip"
|
|
android:layout_gravity="right"
|
|
android:layout_weight="0.4"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<TextView
|
|
style="?android:attr/listSeparatorTextViewStyle"
|
|
android:text="@string/auto_launch_label"
|
|
android:background="@*android:drawable/settings_header"
|
|
android:paddingTop="6dip"
|
|
android:paddingLeft="6dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical">
|
|
<TextView android:id="@+id/auto_launch"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="6dip"
|
|
android:paddingRight="6dip"
|
|
android:paddingLeft="6dip" />
|
|
<Button android:id="@+id/clear_activities_button"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_below="@id/auto_launch"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_width="150dip"
|
|
android:text="@string/clear_activities"
|
|
android:layout_height="wrap_content" />
|
|
</RelativeLayout>
|
|
<!-- Permissions section -->
|
|
<TextView
|
|
style="?android:attr/listSeparatorTextViewStyle"
|
|
android:text="@string/permissions_label"
|
|
android:background="@*android:drawable/settings_header"
|
|
android:textSize="18sp"
|
|
android:paddingTop="6dip"
|
|
android:paddingLeft="6dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:text="@string/security_settings_desc"
|
|
android:textSize="14sp"
|
|
android:paddingTop="6dip"
|
|
android:paddingLeft="6dip"
|
|
android:paddingBottom="6dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" />
|
|
<LinearLayout
|
|
android:id="@+id/security_settings_list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"/>
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|