ui: refactor shadow management

Make the shadow disabling workaround an XML style.

Doing it this way is more elegant than disabling it in-code.
This commit is contained in:
OxygenCobalt
2022-08-09 09:10:19 -06:00
parent bcc16fb88c
commit 83d1e4eae4
6 changed files with 24 additions and 18 deletions
@@ -21,6 +21,7 @@
android:id="@+id/playback_sheet"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/Widget.Auxio.DisableDropShadows"
app:layout_behavior="org.oxycblt.auxio.playback.PlaybackSheetBehavior">
<androidx.fragment.app.FragmentContainerView
@@ -41,6 +42,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
style="@style/Widget.Auxio.DisableDropShadows"
app:layout_behavior="org.oxycblt.auxio.playback.queue.QueueSheetBehavior">
<androidx.constraintlayout.widget.ConstraintLayout