playback: add pre-amp customization

Implement a UI frontend for customizing the ReplayGain pre-amp value.

This finally completes Auxio's ReplayGain implementation. Not only
that, it also shows how Auxio can use positive ReplayGain values,
unlike other apps.

As a side-note, this also fiddles with the dialog style somewhat.
I got carried away.

Resolves #114.
This commit is contained in:
OxygenCobalt
2022-05-22 09:32:23 -06:00
parent 519de0e1d5
commit 21fccf1f31
22 changed files with 294 additions and 49 deletions
+5 -2
View File
@@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="@dimen/spacing_small">
android:paddingTop="@dimen/spacing_medium">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/excluded_recycler"
@@ -22,7 +22,10 @@
android:id="@+id/excluded_empty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/spacing_medium"
android:paddingTop="@dimen/spacing_medium"
android:paddingStart="@dimen/spacing_medium"
android:paddingEnd="@dimen/spacing_medium"
android:paddingBottom="@dimen/spacing_medium"
android:text="@string/lbl_no_dirs"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.Auxio.TitleMidLarge"