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

Unified Diff: chrome/android/java/res/layout/accessibility_tab_switcher_list_item.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, 11 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/accessibility_tab_switcher.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/accessibility_tab_switcher_list_item.xml
diff --git a/chrome/android/java/res/layout/accessibility_tab_switcher_list_item.xml b/chrome/android/java/res/layout/accessibility_tab_switcher_list_item.xml
index 152920e6370e9d207ead72fe783feee71c0190bc..66addb267e26d1b4e37fe1712012f92a70b1e8bd 100644
--- a/chrome/android/java/res/layout/accessibility_tab_switcher_list_item.xml
+++ b/chrome/android/java/res/layout/accessibility_tab_switcher_list_item.xml
@@ -8,6 +8,7 @@
<org.chromium.chrome.browser.widget.accessibility.AccessibilityTabModelListItem
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto"
android:id="@+id/list_item_frame"
android:layout_width="match_parent"
android:layout_height="@dimen/accessibility_tab_height">
@@ -40,7 +41,7 @@
android:padding="4dp"
android:textColor="@android:color/white"
android:textSize="18sp" />
- <ImageButton
+ <org.chromium.chrome.browser.widget.TintedImageButton
android:id="@+id/close_btn"
android:scaleType="centerInside"
android:layout_width="wrap_content"
@@ -49,7 +50,8 @@
android:padding="4dp"
android:background="?attr/selectableItemBackground"
android:contentDescription="@string/accessibility_tabstrip_btn_close_tab"
- android:src="@drawable/btn_tab_close"
+ android:src="@drawable/btn_close"
+ chrome:tint="@color/light_mode_tint"
android:gravity="end|center_vertical" />
</LinearLayout>
« no previous file with comments | « chrome/android/java/res/layout/accessibility_tab_switcher.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698