From a4a4a9e4296bd8891d67f8bf4e362239772f9859 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sat, 18 Jan 2020 19:04:13 +0000 Subject: sdm660-common: doze: Fix dark theme issues This brings SwitchBar widget inline with 10 and fixes the theme issues when the dark mode is enabled. Change-Id: I6909b77bc649eb9eb760bf01b46f66570363e9d9 --- doze/res/layout/switch_bar.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doze/res/layout') diff --git a/doze/res/layout/switch_bar.xml b/doze/res/layout/switch_bar.xml index 9e11a0a..1bf6f6c 100644 --- a/doze/res/layout/switch_bar.xml +++ b/doze/res/layout/switch_bar.xml @@ -22,7 +22,8 @@ android:paddingStart="16dp" android:paddingEnd="16dp" android:clickable="true" - android:gravity="center"> + android:gravity="center" + android:theme="@*android:style/ThemeOverlay.DeviceDefault.Accent"> -- cgit v1.2.3