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

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: Android Java Hookup Created 4 years, 9 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 2015 The Chromium Authors. All rights reserved.
Finnur 2016/03/03 14:15:42 nit: 2016
dmurph 2016/04/26 21:43:12 Done.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
5
6 <!-- Based on Play Services' manage_space_activity.xml layout file. -->
7 <ScrollView
8 xmlns:android="http://schemas.android.com/apk/res/android"
9 android:id="@+id/main_scroll_view"
10 android:layout_width="match_parent"
11 android:layout_height="match_parent" >
12
13 <LinearLayout
14 android:id="@+id/main_view"
15 android:layout_width="match_parent"
16 android:layout_height="match_parent"
17 android:layout_marginStart="16dip"
18 android:layout_marginEnd="16dip"
19 android:orientation="vertical"
20 android:paddingStart="6dip"
21 android:paddingEnd="6dip"
22 android:paddingTop="5dip"
23 android:paddingBottom="5dip">
24
25 <!-- ======== Unimportant Storage Info ======== -->
Finnur 2016/03/03 14:15:42 nit: Single quotes would probably help here: 'Unim
dmurph 2016/04/26 21:43:12 Done.
26 <TextView
27 android:id="@+id/unimportant_site_data_description"
28 android:text="@string/storage_management_unimportant_site_data_descr iptive_text"
29 android:textAppearance="?android:attr/textAppearanceMedium"
30 android:layout_height="wrap_content"
31 android:layout_width="match_parent"
32 android:paddingTop="6dip" />
33
34 <LinearLayout
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:orientation="horizontal"
38 android:baselineAligned="true"
39 android:paddingTop="-1dip">
40
41 <TextView
42 android:id="@+id/unimportant_site_data_size_prefix"
43 android:text="@string/storage_management_unimportant_site_data_s ize_label"
44 android:textAppearance="?android:attr/textAppearanceMedium"
45 android:layout_height="wrap_content"
46 android:layout_width="wrap_content"
47 android:maxLines="1"
48 android:paddingTop="6dip" />
49
50 <ImageView
51 android:src="@drawable/dotted_line_480px"
52 android:layout_width="0dip"
53 android:layout_weight="1"
54 android:layout_height="1px"
55 android:layout_gravity="bottom"
56 android:layout_marginStart="1dip"
57 android:layout_marginEnd="1dip"
58 android:layout_marginBottom="4dip"
59 android:scaleType="center" />
60
61 <TextView
62 android:id="@+id/unimportant_site_data_storage_size_text"
63 android:paddingTop="6dip"
64 android:textAppearance="?android:attr/textAppearanceMedium"
65 android:layout_height="wrap_content"
66 android:layout_width="wrap_content"
67 android:maxLines="1" />
68
Finnur 2016/03/03 14:15:42 Nit: Delete extra line here and below.
dmurph 2016/04/26 21:43:12 Done.
69 </LinearLayout>
70
71 <Button
72 android:id="@+id/clear_unimportant_site_data_storage"
73 android:text="@string/storage_management_clear_unimportant_site_data _button"
74 android:layout_width="wrap_content"
75 android:layout_height="wrap_content"
76 android:layout_gravity="end"
77 android:layout_marginTop="8dp"
78 android:paddingStart="32dp"
79 android:paddingEnd="32dp" />
80
81
82 <!-- ======== Site Storage Info ======== -->
83 <TextView
84 android:id="@+id/site_data_description"
85 android:text="@string/storage_management_site_data_descriptive_text"
86 android:textAppearance="?android:attr/textAppearanceMedium"
87 android:layout_height="wrap_content"
88 android:layout_width="match_parent"
89 android:paddingTop="6dip" />
90
91 <LinearLayout
92 android:layout_width="match_parent"
93 android:layout_height="wrap_content"
94 android:orientation="horizontal"
95 android:baselineAligned="true"
96 android:paddingTop="-1dip">
97
98 <TextView
99 android:id="@+id/site_data_size_prefix"
100 android:text="@string/storage_management_site_data_size_label"
101 android:textAppearance="?android:attr/textAppearanceMedium"
102 android:layout_height="wrap_content"
103 android:layout_width="wrap_content"
104 android:maxLines="1"
105 android:paddingTop="6dip" />
106
107 <ImageView
108 android:src="@drawable/dotted_line_480px"
109 android:layout_width="0dip"
110 android:layout_weight="1"
111 android:layout_height="1px"
112 android:layout_gravity="bottom"
113 android:layout_marginStart="1dip"
114 android:layout_marginEnd="1dip"
115 android:layout_marginBottom="4dip"
116 android:scaleType="center" />
117
118 <TextView
119 android:id="@+id/site_data_storage_size_text"
120 android:paddingTop="6dip"
121 android:textAppearance="?android:attr/textAppearanceMedium"
122 android:layout_height="wrap_content"
123 android:layout_width="wrap_content"
124 android:maxLines="1" />
125
126 </LinearLayout>
127
128 <Button
129 android:id="@+id/manage_site_data_storage"
130 android:text="@string/storage_management_manage_site_data_button"
131 android:layout_width="wrap_content"
132 android:layout_height="wrap_content"
133 android:layout_gravity="end"
134 android:layout_marginTop="8dp"
135 android:paddingStart="32dp"
136 android:paddingEnd="32dp" />
137
138 <!-- ======== Global storage info ======== -->
139 <LinearLayout
140 android:id="@+id/clear_all_data_section"
141 android:orientation="vertical"
142 android:layout_width="match_parent"
143 android:layout_height="wrap_content" >
144
145 <TextView
146 android:id="@+id/all_storage_description"
147 android:text="@string/storage_management_all_storage_descriptive _text"
148 android:textAppearance="?android:attr/textAppearanceMedium"
149 android:layout_height="wrap_content"
150 android:layout_width="match_parent"
151 android:paddingTop="18dip" />
152
153 <Button
154 android:id="@+id/clear_all_data"
155 android:text="@string/storage_management_clear_all_data_button"
156 android:layout_width="wrap_content"
157 android:layout_height="wrap_content"
158 android:layout_gravity="end"
159 android:layout_marginTop="8dp"
160 android:paddingStart="32dp"
161 android:paddingEnd="32dp" />
162
163 </LinearLayout>
164
165 </LinearLayout>
166
167 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698