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

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

Issue 2586643002: [Downloads] Add a horizontal material-styled ProgressBar (Closed)
Patch Set: Get rid of specialized throbber color Created 4 years 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
index ba99847b042eef5c973e9d8e1f0d5e4651620198..a963bbf06f93dba924b422522049adfac983de57 100644
--- a/chrome/android/java/res/layout/download_manager_ui_space_widget.xml
+++ b/chrome/android/java/res/layout/download_manager_ui_space_widget.xml
@@ -3,7 +3,8 @@
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">
+<merge xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto" >
<!-- Widget style adapted from the UX spec:
https://bugs.chromium.org/p/chromium/issues/detail?id=658246&desc=2#c18
@@ -26,13 +27,15 @@
android:textSize="20sp" />
<!-- The progress bar uses 32dp of space, vertically, including spacing. -->
- <ProgressBar
+ <org.chromium.chrome.browser.widget.MaterialProgressBar
android:id="@+id/space_bar"
- style="@style/MaterialProgressBar"
android:layout_width="match_parent"
android:layout_height="4dp"
android:layout_marginTop="14dp"
- android:layout_marginBottom="14dp" />
+ android:layout_marginBottom="14dp"
+ chrome:colorBackground="@color/google_grey_400"
+ chrome:colorProgress="@color/light_active_color"
+ chrome:colorSecondaryProgress="@color/google_grey_600" />
<TextView
android:id="@+id/size_other_apps"

Powered by Google App Engine
This is Rietveld 408576698