From 0b216bf636262c3fb792ecaf0b197b33d8088e7a Mon Sep 17 00:00:00 2001 From: Miranda Kephart Date: Wed, 9 Mar 2022 13:47:58 -0500 Subject: [PATCH] Fix share button color in dark mode for clipboard edit Use the textColorPrimary color for the share button color so that the (borderless) share button icon shows up properly in dark mode. Bug: 221508156 Fix: 221508156 Test: manual (visual change; checked that button is visible in both light and dark modes) Change-Id: I76f9e2acd883b9d6e00bd37b2c0ba0f7d242502e --- packages/SystemUI/res/layout/clipboard_edit_text_activity.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml b/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml index 8f6753a095d0a..da4088f6731dd 100644 --- a/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml +++ b/packages/SystemUI/res/layout/clipboard_edit_text_activity.xml @@ -36,6 +36,7 @@ android:tooltipText="@*android:string/share" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="@+id/copy_button" + android:tint="?android:attr/textColorPrimary" android:src="@drawable/ic_screenshot_share" />