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

Unified Diff: chrome/android/java/res/layout/custom_tabs_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/drawable/progress_bar_white.xml ('k') | chrome/android/java/res/layout/toolbar.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/custom_tabs_toolbar.xml
diff --git a/chrome/android/java/res/layout/custom_tabs_toolbar.xml b/chrome/android/java/res/layout/custom_tabs_toolbar.xml
index f7b06daa92df4a87584fe4c8f55c52b56e3194a6..afe6c0587fc131877ff01c5a0199ccca113f12f1 100644
--- a/chrome/android/java/res/layout/custom_tabs_toolbar.xml
+++ b/chrome/android/java/res/layout/custom_tabs_toolbar.xml
@@ -3,7 +3,9 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
-<org.chromium.chrome.browser.toolbar.CustomTabToolbar xmlns:android="http://schemas.android.com/apk/res/android">
+<org.chromium.chrome.browser.toolbar.CustomTabToolbar
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto" >
<org.chromium.chrome.browser.widget.TintedImageButton
android:id="@+id/close_button"
style="@style/ToolbarButton"
@@ -79,9 +81,8 @@
android:background="@null" />
<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.CustomTabToolbar>
« no previous file with comments | « chrome/android/java/res/drawable/progress_bar_white.xml ('k') | chrome/android/java/res/layout/toolbar.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698