From 397abecae8e1a293c4a738b39ce0426ff78175b2 Mon Sep 17 00:00:00 2001 From: Yi-Ling Chuang Date: Tue, 9 Jul 2019 10:33:40 +0800 Subject: [PATCH] Make Sensors tile icon support dark theme. Tint the icon based on the current theme. Fixes: 135171803 Test: visual Change-Id: I0885d165fd98b07cf61dec48c281c38a47d91e50 --- res/drawable/tile_icon_sensors_off.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/drawable/tile_icon_sensors_off.xml b/res/drawable/tile_icon_sensors_off.xml index 890fa839717..b9b3500593a 100644 --- a/res/drawable/tile_icon_sensors_off.xml +++ b/res/drawable/tile_icon_sensors_off.xml @@ -18,7 +18,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24.0" - android:viewportHeight="24.0"> + android:viewportHeight="24.0" + android:tint="?android:attr/colorControlNormal">