| Index: chrome/android/java/res/layout/manage_space_activity.xml
|
| diff --git a/chrome/android/java/res/layout/manage_space_activity.xml b/chrome/android/java/res/layout/manage_space_activity.xml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ad27e1436eed88efde994283747238b1b9fe460a
|
| --- /dev/null
|
| +++ b/chrome/android/java/res/layout/manage_space_activity.xml
|
| @@ -0,0 +1,94 @@
|
| +<?xml version="1.0" encoding="utf-8"?>
|
| +<!-- Copyright 2016 The Chromium Authors. All rights reserved.
|
| + Use of this source code is governed by a BSD-style license that can be
|
| + found in the LICENSE file. -->
|
| +
|
| +<ScrollView
|
| + xmlns:android="http://schemas.android.com/apk/res/android"
|
| + android:id="@+id/main_scroll_view"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="match_parent">
|
| +
|
| + <LinearLayout
|
| + android:id="@+id/main_view"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="match_parent"
|
| + android:layout_marginStart="16dp"
|
| + android:layout_marginEnd="16dp"
|
| + android:orientation="vertical"
|
| + android:paddingStart="6dp"
|
| + android:paddingEnd="6dp"
|
| + android:paddingTop="5dp"
|
| + android:paddingBottom="5dp">
|
| +
|
| + <!-- ======== 'Unimportant Storage' Info ======== -->
|
| + <TextView
|
| + android:id="@+id/unimportant_site_data_description"
|
| + android:text="@string/storage_management_unimportant_site_data_description"
|
| + style="@style/ManageSpaceActivityExplanationTextView" />
|
| +
|
| + <LinearLayout
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:baselineAligned="true"
|
| + android:orientation="horizontal">
|
| +
|
| + <TextView
|
| + android:id="@+id/unimportant_site_data_size_prefix"
|
| + android:text="@string/storage_management_unimportant_site_data_size_label"
|
| + android:layout_weight="1"
|
| + style="@style/ManageSpaceActivitySizeTextView" />
|
| +
|
| + <TextView
|
| + android:id="@+id/unimportant_site_data_storage_size_text"
|
| + style="@style/ManageSpaceActivitySizeTextView" />
|
| + </LinearLayout>
|
| +
|
| + <Button
|
| + android:id="@+id/clear_unimportant_site_data_storage"
|
| + android:text="@string/storage_management_clear_unimportant_site_data_button"
|
| + style="@style/ManageSpaceActivityButton" />
|
| +
|
| +
|
| + <!-- ======== Site Storage Info ======== -->
|
| + <TextView
|
| + android:id="@+id/site_data_description"
|
| + android:text="@string/storage_management_site_data_description"
|
| + style="@style/ManageSpaceActivityExplanationTextView" />
|
| +
|
| + <LinearLayout
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:baselineAligned="true"
|
| + android:orientation="horizontal">
|
| +
|
| + <TextView
|
| + android:id="@+id/site_data_size_prefix"
|
| + android:text="@string/storage_management_site_data_size_label"
|
| + android:layout_weight="1"
|
| + style="@style/ManageSpaceActivitySizeTextView" />
|
| +
|
| + <TextView
|
| + android:id="@+id/site_data_storage_size_text"
|
| + style="@style/ManageSpaceActivitySizeTextView" />
|
| + </LinearLayout>
|
| +
|
| + <Button
|
| + android:id="@+id/manage_site_data_storage"
|
| + android:text="@string/storage_management_manage_site_data_button"
|
| + style="@style/ManageSpaceActivityButton" />
|
| +
|
| + <!-- ======== Global storage info ======== -->
|
| +
|
| + <TextView
|
| + android:id="@+id/all_storage_description"
|
| + android:text="@string/storage_management_all_storage_description"
|
| + android:paddingTop="12dp"
|
| + style="@style/ManageSpaceActivityExplanationTextView" />
|
| +
|
| + <Button
|
| + android:id="@+id/clear_all_data"
|
| + android:text="@string/storage_management_clear_all_data_button"
|
| + style="@style/ManageSpaceActivityButton" />
|
| + </LinearLayout>
|
| +</ScrollView>
|
|
|