Chromium Code Reviews| 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..19a890e6bbca17d5475e9082e88463116193412e |
| --- /dev/null |
| +++ b/chrome/android/java/res/layout/manage_space_activity.xml |
| @@ -0,0 +1,100 @@ |
| +<?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" > |
|
Theresa
2016/05/26 23:21:56
nit: remove the space before the > for consistency
dmurph
2016/05/27 02:09:12
Done.
|
| + |
| + <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_descriptive_text" |
| + 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_descriptive_text" |
| + 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 ======== --> |
| + <LinearLayout |
| + android:id="@+id/clear_all_data_section" |
| + android:orientation="vertical" |
| + android:layout_width="match_parent" |
| + android:layout_height="wrap_content" |
|
Theresa
2016/05/26 23:21:56
nit: trailing white space on this line
dmurph
2016/05/27 02:09:12
Done.
|
| + android:paddingTop="12dp"> |
| + |
| + <TextView |
| + android:id="@+id/all_storage_description" |
| + android:text="@string/storage_management_all_storage_descriptive_text" |
| + style="@style/ManageSpaceActivityExplanationTextView" /> |
| + |
| + <Button |
| + android:id="@+id/clear_all_data" |
| + android:text="@string/storage_management_clear_all_data_button" |
| + style="@style/ManageSpaceActivityButton" /> |
| + </LinearLayout> |
| + </LinearLayout> |
| +</ScrollView> |