summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anthony Chen <ajchen@google.com> 2018-07-25 13:44:29 -0700
committer Anthony Chen <ajchen@google.com> 2018-07-26 18:19:15 +0000
commit82d73e2ade660a730f952be2127adfa89fe5e4e8 (patch)
tree9193415cf1ec61c22741fb8798a1ea455e05c8fa
parentce419f134232419cfefcc437d9380a263c14dfb1 (diff)
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
-rw-r--r--packages/SystemUI/res/layout/car_fullscreen_user_switcher.xml2
-rw-r--r--packages/SystemUI/res/layout/car_qs_panel.xml2
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 37e2b537f90c..c9f51486e983 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 c43afc980bbf..e7413de342fa 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"/>