Fix QS loading animation

Was using wrong colors depending on the theme.

Test: visual
Change-Id: I49e00fcfc607b712e545a19bb1f49130c6a686d5
Fixes: 63648257
This commit is contained in:
Jason Monk
2017-09-06 15:38:52 -04:00
parent 89eceea5ca
commit ba3d0ab9d5
2 changed files with 21 additions and 1 deletions

View File

@@ -16,5 +16,5 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- I really don't want to define this, but the View that uses this asset uses both the
light and dark accent colors. -->
<item android:alpha="0.6" android:drawable="@*android:color/accent_device_default_light" />
<item android:alpha="0.6" android:drawable="@*android:color/accent_device_default_dark" />
</selector>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- I really don't want to define this, but the View that uses this asset uses both the
light and dark accent colors. -->
<item android:alpha="0.6" android:drawable="@*android:color/accent_device_default_light" />
</selector>