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
This commit is contained in:
Anthony Chen
2018-07-25 13:44:29 -07:00
parent ce419f1342
commit 82d73e2ade
2 changed files with 2 additions and 2 deletions

View File

@@ -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"/>

View File

@@ -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"/>