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

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

Issue 1170843002: [Andorid] Migrate to ClipDrawable progress bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ChromeShell test fix 2 Created 5 years, 5 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
« no previous file with comments | « chrome/android/java/res/layout/custom_tabs_toolbar.xml ('k') | chrome/android/java/res/values/attrs.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/toolbar.xml
diff --git a/chrome/android/java/res/layout/toolbar.xml b/chrome/android/java/res/layout/toolbar.xml
index 04b041f0320f3048a982c839e87a73dd9401bef9..0ab520e2241e6fec5ec19ef67313c707e89ab78e 100644
--- a/chrome/android/java/res/layout/toolbar.xml
+++ b/chrome/android/java/res/layout/toolbar.xml
@@ -8,6 +8,7 @@
<org.chromium.chrome.browser.toolbar.ToolbarPhone
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height_no_shadow" >
@@ -59,9 +60,8 @@
</LinearLayout>
<org.chromium.chrome.browser.widget.ToolbarProgressBar
android:id="@+id/progress"
- style="@style/Widget.AppCompat.ProgressBar.Horizontal"
- android:progressDrawable="@drawable/progress_bar"
android:layout_width="match_parent"
android:layout_height="2dp"
- android:progress="0" />
+ chrome:progressBarColor="@color/progress_bar_foreground"
+ chrome:backgroundColor="@color/progress_bar_background" />
</org.chromium.chrome.browser.toolbar.ToolbarPhone>
« no previous file with comments | « chrome/android/java/res/layout/custom_tabs_toolbar.xml ('k') | chrome/android/java/res/values/attrs.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698