OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <ScrollView | 6 <ScrollView |
7 xmlns:android="http://schemas.android.com/apk/res/android" | 7 xmlns:android="http://schemas.android.com/apk/res/android" |
8 android:id="@+id/main_scroll_view" | 8 android:id="@+id/main_scroll_view" |
9 android:layout_width="match_parent" | 9 android:layout_width="match_parent" |
10 android:layout_height="match_parent"> | 10 android:layout_height="match_parent"> |
11 | 11 |
12 <LinearLayout | 12 <LinearLayout |
13 android:id="@+id/main_view" | 13 android:id="@+id/main_view" |
14 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
15 android:layout_height="match_parent" | 15 android:layout_height="wrap_content" |
16 android:layout_marginStart="16dp" | 16 android:layout_marginStart="16dp" |
17 android:layout_marginEnd="16dp" | 17 android:layout_marginEnd="16dp" |
18 android:orientation="vertical" | 18 android:orientation="vertical" |
19 android:paddingStart="6dp" | 19 android:paddingStart="6dp" |
20 android:paddingEnd="6dp" | 20 android:paddingEnd="6dp" |
21 android:paddingTop="5dp" | 21 android:paddingTop="5dp" |
22 android:paddingBottom="5dp"> | 22 android:paddingBottom="5dp"> |
23 | 23 |
24 <!-- ======== 'Unimportant Storage' Info ======== --> | 24 <!-- ======== 'Unimportant Storage' Info ======== --> |
25 <TextView | 25 <TextView |
26 android:id="@+id/unimportant_site_data_description" | 26 android:id="@+id/unimportant_site_data_description" |
27 android:text="@string/storage_management_unimportant_site_data_descr
iption" | 27 android:text="@string/storage_management_unimportant_site_data_descr
iption" |
28 style="@style/ManageSpaceActivityExplanationTextView" /> | 28 style="@style/ManageSpaceActivityExplanationTextView" /> |
29 | 29 |
30 <LinearLayout | 30 <LinearLayout |
31 android:layout_width="match_parent" | 31 android:layout_width="match_parent" |
32 android:layout_height="wrap_content" | 32 android:layout_height="wrap_content" |
33 android:baselineAligned="true" | 33 android:baselineAligned="true" |
34 android:orientation="horizontal"> | 34 android:orientation="horizontal"> |
35 | 35 |
36 <TextView | 36 <TextView |
37 android:id="@+id/unimportant_site_data_size_prefix" | 37 android:id="@+id/unimportant_site_data_size_prefix" |
38 android:text="@string/storage_management_unimportant_site_data_s
ize_label" | 38 android:text="@string/storage_management_unimportant_site_data_s
ize_label" |
39 android:layout_weight="1" | 39 android:layout_weight="1" |
| 40 android:layout_width="0dp" |
40 style="@style/ManageSpaceActivitySizeTextView" /> | 41 style="@style/ManageSpaceActivitySizeTextView" /> |
41 | 42 |
42 <TextView | 43 <TextView |
43 android:id="@+id/unimportant_site_data_storage_size_text" | 44 android:id="@+id/unimportant_site_data_storage_size_text" |
44 style="@style/ManageSpaceActivitySizeTextView" /> | 45 style="@style/ManageSpaceActivitySizeTextView" /> |
45 </LinearLayout> | 46 </LinearLayout> |
46 | 47 |
47 <Button | 48 <Button |
48 android:id="@+id/clear_unimportant_site_data_storage" | 49 android:id="@+id/clear_unimportant_site_data_storage" |
49 android:text="@string/storage_management_clear_unimportant_site_data
_button" | 50 android:text="@string/storage_management_clear_unimportant_site_data
_button" |
50 style="@style/ManageSpaceActivityButton" /> | 51 style="@style/ManageSpaceActivityButton" /> |
51 | 52 |
52 | 53 |
53 <!-- ======== Site Storage Info ======== --> | 54 <!-- ======== Site Storage Info ======== --> |
54 <TextView | 55 <TextView |
55 android:id="@+id/site_data_description" | 56 android:id="@+id/site_data_description" |
56 android:text="@string/storage_management_site_data_description" | 57 android:text="@string/storage_management_site_data_description" |
57 style="@style/ManageSpaceActivityExplanationTextView" /> | 58 style="@style/ManageSpaceActivityExplanationTextView" /> |
58 | 59 |
59 <LinearLayout | 60 <LinearLayout |
60 android:layout_width="match_parent" | 61 android:layout_width="match_parent" |
61 android:layout_height="wrap_content" | 62 android:layout_height="wrap_content" |
62 android:baselineAligned="true" | 63 android:baselineAligned="true" |
63 android:orientation="horizontal"> | 64 android:orientation="horizontal"> |
64 | 65 |
65 <TextView | 66 <TextView |
66 android:id="@+id/site_data_size_prefix" | 67 android:id="@+id/site_data_size_prefix" |
67 android:text="@string/storage_management_site_data_size_label" | 68 android:text="@string/storage_management_site_data_size_label" |
68 android:layout_weight="1" | 69 android:layout_weight="1" |
| 70 android:layout_width="0dp" |
69 style="@style/ManageSpaceActivitySizeTextView" /> | 71 style="@style/ManageSpaceActivitySizeTextView" /> |
70 | 72 |
71 <TextView | 73 <TextView |
72 android:id="@+id/site_data_storage_size_text" | 74 android:id="@+id/site_data_storage_size_text" |
73 style="@style/ManageSpaceActivitySizeTextView" /> | 75 style="@style/ManageSpaceActivitySizeTextView" /> |
74 </LinearLayout> | 76 </LinearLayout> |
75 | 77 |
76 <Button | 78 <Button |
77 android:id="@+id/manage_site_data_storage" | 79 android:id="@+id/manage_site_data_storage" |
78 android:text="@string/storage_management_manage_site_data_button" | 80 android:text="@string/storage_management_manage_site_data_button" |
79 style="@style/ManageSpaceActivityButton" /> | 81 style="@style/ManageSpaceActivityButton" /> |
80 | 82 |
81 <!-- ======== Global storage info ======== --> | 83 <!-- ======== Global storage info ======== --> |
82 | 84 |
83 <TextView | 85 <TextView |
84 android:id="@+id/all_storage_description" | 86 android:id="@+id/all_storage_description" |
85 android:text="@string/storage_management_all_storage_description" | 87 android:text="@string/storage_management_all_storage_description" |
86 android:paddingTop="12dp" | 88 android:paddingTop="12dp" |
87 style="@style/ManageSpaceActivityExplanationTextView" /> | 89 style="@style/ManageSpaceActivityExplanationTextView" /> |
88 | 90 |
89 <Button | 91 <Button |
90 android:id="@+id/clear_all_data" | 92 android:id="@+id/clear_all_data" |
91 android:text="@string/storage_management_clear_all_data_button" | 93 android:text="@string/storage_management_clear_all_data_button" |
92 style="@style/ManageSpaceActivityButton" /> | 94 style="@style/ManageSpaceActivityButton" /> |
93 </LinearLayout> | 95 </LinearLayout> |
94 </ScrollView> | 96 </ScrollView> |
OLD | NEW |