Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Side by Side Diff: chrome/android/java/res/layout/manage_space_activity.xml

Issue 1465363002: [Storage] Android - ManageSpace UI, Important Origins, and CBD Dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments, cleanup, etc Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
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
4 found in the LICENSE file. -->
5
6 <ScrollView
7 xmlns:android="http://schemas.android.com/apk/res/android"
8 android:id="@+id/main_scroll_view"
9 android:layout_width="match_parent"
10 android:layout_height="match_parent" >
11
12 <LinearLayout
13 android:id="@+id/main_view"
14 android:layout_width="match_parent"
15 android:layout_height="match_parent"
16 android:layout_marginStart="16dp"
17 android:layout_marginEnd="16dp"
18 android:orientation="vertical"
19 android:paddingStart="6dp"
20 android:paddingEnd="6dp"
21 android:paddingTop="5dp"
22 android:paddingBottom="5dp">
23
24 <!-- ======== 'Unimportant Storage' Info ======== -->
25 <TextView
26 android:id="@+id/unimportant_site_data_description"
27 android:text="@string/storage_management_unimportant_site_data_descr iptive_text"
28 style="@style/ManageSpaceActivityExplanationTextView" />
29
30 <LinearLayout
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content"
33 android:orientation="horizontal"
34 android:baselineAligned="true"
35 android:paddingTop="-1dp">
Theresa 2016/05/03 00:04:27 I'm still not a fan of the negative top padding. H
dmurph 2016/05/04 00:51:00 Whoops, I thought I removed this. My bad.
36
37 <TextView
38 android:id="@+id/unimportant_site_data_size_prefix"
39 android:text="@string/storage_management_unimportant_site_data_s ize_label"
40 style="@style/ManageSpaceActivitySizeTextView" />
41
42 <ImageView
43 android:src="@drawable/dotted_line_480px"
Theresa 2016/05/03 00:04:27 This ImageView could use a declared style as well.
dmurph 2016/05/04 00:51:00 Done.
44 android:layout_width="0dp"
45 android:layout_weight="1"
46 android:layout_height="1dp"
47 android:layout_gravity="bottom"
48 android:layout_marginStart="1dp"
49 android:layout_marginEnd="1dp"
50 android:layout_marginBottom="4dp"
51 android:scaleType="center" />
52
53 <TextView
54 android:id="@+id/unimportant_site_data_storage_size_text"
55 style="@style/ManageSpaceActivitySizeTextView" />
56 </LinearLayout>
57
58 <Button
59 android:id="@+id/clear_unimportant_site_data_storage"
60 android:text="@string/storage_management_clear_unimportant_site_data _button"
61 style="@style/ManageSpaceActivityButton" />
62
63
64 <!-- ======== Site Storage Info ======== -->
65 <TextView
66 android:id="@+id/site_data_description"
67 android:text="@string/storage_management_site_data_descriptive_text"
68 style="@style/ManageSpaceActivityExplanationTextView" />
69
70 <LinearLayout
71 android:layout_width="match_parent"
72 android:layout_height="wrap_content"
73 android:orientation="horizontal"
74 android:baselineAligned="true">
75
76 <TextView
77 android:id="@+id/site_data_size_prefix"
78 android:text="@string/storage_management_site_data_size_label"
79 style="@style/ManageSpaceActivitySizeTextView" />
80
81 <ImageView
82 android:src="@drawable/dotted_line_480px"
83 android:layout_width="0dp"
84 android:layout_weight="1"
85 android:layout_height="1dp"
86 android:layout_gravity="bottom"
87 android:layout_marginStart="1dp"
88 android:layout_marginEnd="1dp"
89 android:layout_marginBottom="4dp"
90 android:scaleType="center" />
91
92 <TextView
93 android:id="@+id/site_data_storage_size_text"
94 style="@style/ManageSpaceActivitySizeTextView" />
95 </LinearLayout>
96
97 <Button
98 android:id="@+id/manage_site_data_storage"
99 android:text="@string/storage_management_manage_site_data_button"
100 style="@style/ManageSpaceActivityButton" />
101
102 <!-- ======== Global storage info ======== -->
103 <LinearLayout
104 android:id="@+id/clear_all_data_section"
105 android:orientation="vertical"
106 android:layout_width="match_parent"
107 android:layout_height="wrap_content"
108 android:paddingTop="12dp">
109
110 <TextView
111 android:id="@+id/all_storage_description"
112 android:text="@string/storage_management_all_storage_descriptive _text"
113 style="@style/ManageSpaceActivityExplanationTextView" />
114
115 <Button
116 android:id="@+id/clear_all_data"
117 android:text="@string/storage_management_clear_all_data_button"
118 style="@style/ManageSpaceActivityButton" />
119 </LinearLayout>
120 </LinearLayout>
121 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698