ui: animate play/pause button shape
Make the shape of the play/pause buttons throughout the app morph from a circle if paused to a square if playing. Android 13 seemingly does this to their play/pause button, so we copy it too. Tangentally related to #162.
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<!-- A variant of button that emulates a FAB-ish button that plays along with widget restrictions -->
|
||||
<style name="Widget.Auxio.MaterialButton.AppWidget.PlayPause" parent="Widget.AppCompat.Button.Borderless">
|
||||
<item name="android:minWidth">@dimen/size_btn</item>
|
||||
<item name="android:background">@drawable/ui_remote_fab_bg</item>
|
||||
<item name="android:background">@drawable/ui_remote_fab_container_paused</item>
|
||||
<item name="android:tint">?attr/colorOnPrimary</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user