From 32d69204ede43a05990fb148283609907d277de9 Mon Sep 17 00:00:00 2001 From: Eugene Susla Date: Fri, 30 Oct 2020 14:45:37 -0700 Subject: [PATCH] Make CDM UI support dark theme Test: manually check in both light and dark modes Bug: 165951651 Change-Id: I1fb7b503cbfc9d067d846ec024c13695a5545192 --- .../res/layout/buttons.xml | 4 ++-- .../res/layout/device_chooser.xml | 2 +- .../res/layout/title.xml | 1 - .../res/values/themes.xml | 1 + .../DeviceDiscoveryService.java | 23 ++++++++++++++++--- 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/packages/CompanionDeviceManager/res/layout/buttons.xml b/packages/CompanionDeviceManager/res/layout/buttons.xml index 7de0035d0cc9e..b190a7f675cad 100644 --- a/packages/CompanionDeviceManager/res/layout/buttons.xml +++ b/packages/CompanionDeviceManager/res/layout/buttons.xml @@ -30,13 +30,13 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@android:string/cancel" - style="@android:style/Widget.Material.Light.Button.Borderless.Colored" + style="@android:style/Widget.Material.Button.Borderless.Colored" />