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

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

Issue 2063983002: [Downloads] Fill in the drawer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@download_activity
Patch Set: Comments Created 4 years, 6 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/download_manager_ui_space_widget.xml
diff --git a/chrome/android/java/res/layout/download_manager_ui_space_widget.xml b/chrome/android/java/res/layout/download_manager_ui_space_widget.xml
new file mode 100644
index 0000000000000000000000000000000000000000..af49fe410dc20280204962a823da03d4807340f0
--- /dev/null
+++ b/chrome/android/java/res/layout/download_manager_ui_space_widget.xml
@@ -0,0 +1,41 @@
+<?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. -->
+
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- TODO(dfalcantara): Figure out how to split off the units from the value and
+ then make that part of the string smaller with a Spannable.
+ -->
+ <TextView
+ android:id="@+id/space_used_display"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="@dimen/drawer_margin_large"
+ android:paddingEnd="@dimen/drawer_margin_large"
+ android:textColor="@color/light_active_color"
+ android:textSize="32sp" />
+
+ <TextView
+ android:id="@+id/space_total_display"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="@dimen/drawer_margin_large"
+ android:paddingEnd="@dimen/drawer_margin_large"
+ android:textColor="@color/descriptive_text_color" />
+
+ <!-- TODO(dfalcantara): Style this toolbar as Material on JB & KK.
+ These are currently broken in the support library and look Holo.
+ -->
+ <ProgressBar
+ android:id="@+id/space_bar"
+ style="@style/Widget.AppCompat.ProgressBar.Horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/drawer_margin_large"
+ android:paddingBottom="@dimen/drawer_margin_large"
+ android:paddingStart="@dimen/drawer_margin_large"
+ android:paddingEnd="@dimen/drawer_margin_large" />
+
+</merge>

Powered by Google App Engine
This is Rietveld 408576698