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

Unified Diff: chrome/android/shell/res/layout/chrome_shell_activity.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
Index: chrome/android/shell/res/layout/chrome_shell_activity.xml
diff --git a/chrome/android/shell/res/layout/chrome_shell_activity.xml b/chrome/android/shell/res/layout/chrome_shell_activity.xml
index 81186512d9edd6b1feb0979e1b9960bad4f262a1..9a928d7c20778e395fa72ad7cf530655bb142ba5 100644
--- a/chrome/android/shell/res/layout/chrome_shell_activity.xml
+++ b/chrome/android/shell/res/layout/chrome_shell_activity.xml
@@ -8,6 +8,7 @@
<org.chromium.chrome.shell.TabManager android:id="@+id/tab_manager"
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="match_parent"
android:orientation="vertical">
@@ -62,11 +63,10 @@
</LinearLayout>
<org.chromium.chrome.browser.widget.ToolbarProgressBar
android:id="@+id/progress"
- style="@android:style/Widget.Holo.Light.ProgressBar.Horizontal"
- android:progressDrawable="@drawable/shell_progress_bar"
android:layout_width="match_parent"
android:layout_height="2dp"
- android:progress="0" />
+ chrome:progressBarColor="@color/material_deep_teal_500"
+ chrome:backgroundColor="@android:color/transparent" />
</org.chromium.chrome.shell.ChromeShellToolbar>
<FrameLayout android:id="@+id/content_container"
android:layout_width="match_parent"

Powered by Google App Engine
This is Rietveld 408576698