Things are mostly in the right places, may need some minor location adjustment on everything and styling for the buttons. Bug: 19511439 Change-Id: If7730285d6ddc36e32cc8bc119885a8e215c0eb5
152 lines
5.9 KiB
XML
152 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2015 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.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/all_details"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
|
android:orientation="vertical">
|
|
|
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/category_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dashboard_category_title_height"
|
|
android:singleLine="true"
|
|
android:gravity="center_vertical"
|
|
android:textAppearance="@style/TextAppearance.CategoryTitle"
|
|
android:textAlignment="viewStart"
|
|
android:text="@string/storage_label"
|
|
/>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="0dip">
|
|
<TextView
|
|
android:id="@+id/total_size_prefix"
|
|
android:text="@string/total_size_label"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:maxLines="1" />
|
|
<TextView
|
|
android:id="@+id/total_size_text"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:gravity="right"
|
|
android:maxLines="1" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="3dip">
|
|
<TextView
|
|
android:id="@+id/application_size_prefix"
|
|
android:text="@string/application_size_label"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:maxLines="1" />
|
|
<TextView
|
|
android:id="@+id/application_size_text"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:gravity="right"
|
|
android:maxLines="1" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="3dip">
|
|
<TextView
|
|
android:id="@+id/external_code_size_prefix"
|
|
android:text="@string/external_code_size_label"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:maxLines="1" />
|
|
<TextView
|
|
android:id="@+id/external_code_size_text"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:gravity="right"
|
|
android:maxLines="1" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="3dip">
|
|
<TextView
|
|
android:id="@+id/data_size_prefix"
|
|
android:text="@string/data_size_label"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:maxLines="1" />
|
|
<TextView
|
|
android:id="@+id/data_size_text"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:gravity="right"
|
|
android:maxLines="1" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="3dip">
|
|
<TextView
|
|
android:id="@+id/external_data_size_prefix"
|
|
android:text="@string/external_data_size_label"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:maxLines="1" />
|
|
<TextView
|
|
android:id="@+id/external_data_size_text"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:gravity="right"
|
|
android:maxLines="1" />
|
|
</FrameLayout>
|
|
|
|
<include
|
|
android:id="@+id/clear_data_button"
|
|
layout="@layout/single_button_panel" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="10dp" />
|
|
|
|
</LinearLayout>
|