From 82d73e2ade660a730f952be2127adfa89fe5e4e8 Mon Sep 17 00:00:00 2001 From: Anthony Chen Date: Wed, 25 Jul 2018 13:44:29 -0700 Subject: [PATCH] Remove usage of DayNightStyle attribute. This attribute has been deprecated. Instead, set the color of the list through the theme. Bug: 111807700 Test: build SystemUI and verify the list on the user picker page and QuickSettings. Change-Id: I173cb98335619d129720a6c7514dba1449989abf --- packages/SystemUI/res/layout/car_fullscreen_user_switcher.xml | 2 +- packages/SystemUI/res/layout/car_qs_panel.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/res/layout/car_fullscreen_user_switcher.xml b/packages/SystemUI/res/layout/car_fullscreen_user_switcher.xml index 37e2b537f90c9..c9f51486e983b 100644 --- a/packages/SystemUI/res/layout/car_fullscreen_user_switcher.xml +++ b/packages/SystemUI/res/layout/car_fullscreen_user_switcher.xml @@ -38,8 +38,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="@dimen/car_user_switcher_margin_top" + android:theme="@style/Theme.Car.Light.List" app:verticallyCenterListContent="true" - app:dayNightStyle="always_light" app:showPagedListViewDivider="false" app:gutter="both" app:itemSpacing="@dimen/car_user_switcher_vertical_spacing_between_users"/> diff --git a/packages/SystemUI/res/layout/car_qs_panel.xml b/packages/SystemUI/res/layout/car_qs_panel.xml index c43afc980bbf9..e7413de342fa7 100644 --- a/packages/SystemUI/res/layout/car_qs_panel.xml +++ b/packages/SystemUI/res/layout/car_qs_panel.xml @@ -39,7 +39,7 @@ android:id="@+id/user_grid" android:layout_width="match_parent" android:layout_height="match_parent" - app:dayNightStyle="always_light" + android:theme="@style/Theme.Car.Light.List" app:showPagedListViewDivider="false" app:gutter="both" app:itemSpacing="@dimen/car_user_switcher_vertical_spacing_between_users"/>