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

Unified Diff: chrome/android/java/res/layout/data_usage_breakdown_row.xml

Issue 2781323004: Create a new Data Saver settings page that adds the site breakdown (Closed)
Patch Set: rebase Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/data_usage_breakdown_row.xml
diff --git a/chrome/android/java/res/layout/data_usage_breakdown_row.xml b/chrome/android/java/res/layout/data_usage_breakdown_row.xml
new file mode 100644
index 0000000000000000000000000000000000000000..11b488d59619e5b1adbf036028581ed3d8ccc0d9
--- /dev/null
+++ b/chrome/android/java/res/layout/data_usage_breakdown_row.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 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. -->
+
+<TableRow
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/site_row"
+ android:layout_width="match_parent">
+
+ <TextView
+ android:id="@+id/site_hostname"
+ android:layout_width="0dp"
+ android:layout_weight="0"
+ style="@style/DataUsageBreakdownColumnItem" />
+
+ <TextView
+ android:id="@+id/site_data_used"
+ android:layout_width="wrap_content"
+ android:gravity="end"
+ android:paddingStart="10dp"
+ style="@style/DataUsageBreakdownColumnItem" />
+
+ <TextView
+ android:id="@+id/site_data_saved"
+ android:layout_width="wrap_content"
+ android:gravity="end"
+ android:paddingStart="24dp"
+ style="@style/DataUsageBreakdownColumnItem" />
+</TableRow>
« no previous file with comments | « chrome/android/java/res/layout/data_usage_breakdown.xml ('k') | chrome/android/java/res/values-v17/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698