diff options
| author | 2017-09-06 15:38:52 -0400 | |
|---|---|---|
| committer | 2017-09-06 15:38:52 -0400 | |
| commit | ba3d0ab9d52724d3890484c53ee4cee874e09b0a (patch) | |
| tree | 5157c685916837a977ac43b717d0fe612946ec2b | |
| parent | 89eceea5caf0a477450935ff593c658620a9bedc (diff) | |
Fix QS loading animation
Was using wrong colors depending on the theme.
Test: visual
Change-Id: I49e00fcfc607b712e545a19bb1f49130c6a686d5
Fixes: 63648257
| -rw-r--r-- | packages/SystemUI/res/color/qs_detail_progress_track.xml | 2 | ||||
| -rw-r--r-- | packages/overlays/SysuiDarkThemeOverlay/res/color/qs_detail_progress_track.xml | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/packages/SystemUI/res/color/qs_detail_progress_track.xml b/packages/SystemUI/res/color/qs_detail_progress_track.xml index c56382e6047f..d86119fc01fe 100644 --- a/packages/SystemUI/res/color/qs_detail_progress_track.xml +++ b/packages/SystemUI/res/color/qs_detail_progress_track.xml @@ -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> diff --git a/packages/overlays/SysuiDarkThemeOverlay/res/color/qs_detail_progress_track.xml b/packages/overlays/SysuiDarkThemeOverlay/res/color/qs_detail_progress_track.xml new file mode 100644 index 000000000000..c56382e6047f --- /dev/null +++ b/packages/overlays/SysuiDarkThemeOverlay/res/color/qs_detail_progress_track.xml @@ -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> |