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

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

Issue 894453004: Use TintedImageButton for accessibility tab switcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to btn_close Created 5 years, 10 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/accessibility_tab_switcher.xml
diff --git a/chrome/android/java/res/layout/accessibility_tab_switcher.xml b/chrome/android/java/res/layout/accessibility_tab_switcher.xml
index ff9b08005d85ed3ad753ed7fe088278536eb9f64..402378288e47d2713c21987f5692eca2b6246b48 100644
--- a/chrome/android/java/res/layout/accessibility_tab_switcher.xml
+++ b/chrome/android/java/res/layout/accessibility_tab_switcher.xml
@@ -8,6 +8,7 @@
<org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelWrapper
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"
@@ -30,13 +31,14 @@
android:id="@+id/button_wrapper"
android:visibility="gone">
- <ImageButton
+ <org.chromium.chrome.browser.widget.TintedImageButton
android:id="@+id/standard_tabs_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/btn_bg_holo_active"
- android:src="@drawable/btn_tabstrip_incognito_switch"
+ android:src="@drawable/btn_normal_tabs"
+ chrome:tint="@color/light_mode_tint"
android:contentDescription="@string/accessibility_tab_switcher_standard_stack"
style="?android:attr/borderlessButtonStyle" />
@@ -46,12 +48,13 @@
android:layout_gravity="center_vertical"
android:background="#292929" />
- <ImageButton
+ <org.chromium.chrome.browser.widget.TintedImageButton
android:id="@+id/incognito_tabs_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:src="@drawable/btn_tabstrip_incognito_switch_incognito"
+ android:src="@drawable/btn_incognito_tabs"
+ chrome:tint="@color/light_mode_tint"
android:background="@drawable/btn_bg_holo"
android:contentDescription="@string/accessibility_tab_switcher_incognito_stack"
style="?android:attr/borderlessButtonStyle" />

Powered by Google App Engine
This is Rietveld 408576698