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
@@ -2,6 +2,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
style="@style/Widget.Auxio.DisableDropShadows"
android:layout_width="match_parent"
android:layout_height="wrap_content">