playback: rework playback icon visibility

Add a circular indicator to playback icons.

Sometimes it can be too difficult to tell apart the active and inactive
states of the shuffle/loop icons. However, there is really no good way
to improve the contrast on these icons without some kind of muddled UX
fragmentation, or god-awful design. Try to settle on the okay-est
version, which is to use colorPrimary with a dot indicator on views we
control, and use a more muddled semi-transparent icon on views we don't
control, like notifications and widgets.
This commit is contained in:
OxygenCobalt
2022-02-21 16:36:08 -07:00
parent 2a74ff906c
commit 9304e58190
36 changed files with 228 additions and 103 deletions
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Widget.Auxio.Button.AppWidget.V31" parent="Widget.AppCompat.Button.Borderless">
<item name="android:background">@drawable/ui_unbounded_ripple</item>
<item name="android:background">@drawable/ui_large_unbounded_ripple</item>
</style>
</resources>
+7 -6
View File
@@ -4,12 +4,13 @@
<!-- Android 12 configuration -->
<style name="Theme.Auxio.V31" parent="Theme.Auxio.V27">
<!--
Theme.Material3.DayNight doesn't actually apply dynamic colors by default. No.
You have to apply a T H E M E O V E R L A Y for them to work. Except the ThemeOverlay
causes appbars to become a completely different color for basically no reason! Guess
we have to manually ctrl-c ctrl-v these values into our V31 styles instead!
Why do I keep developing for this platform why do I keep developing for this platform why
Theme.Material3.DayNight doesn't actually apply dynamic colors by default.
You instead have two options for applying them:
1. Using DynamicColors in Activity.onCreate
2. Applying on of the theme overlays
Neither of these work for Auxio, because they override workarounds for android insanity
and generally lead to inexplicable issues. Instead we have to manually copy and paste the
theme values into our own custom theme.
-->
<!-- Color palettes -->