widgets: simplify layouts

Simplify the layouts used by widgets, moving the more version-specific
attributes into settings.
This commit is contained in:
OxygenCobalt
2021-08-05 17:00:59 -06:00
parent 8c07f8cd8c
commit b51ec756de
20 changed files with 100 additions and 299 deletions
@@ -165,7 +165,7 @@
android:id="@+id/playback_shuffle"
style="@style/Widget.Button.Unbounded"
android:layout_marginEnd="@dimen/spacing_small"
android:contentDescription="@{playbackModel.isShuffling() ? @string/description_shuffle_off : @string/description_shuffle_on"
android:contentDescription="@string/description_shuffle"
android:onClick="@{() -> playbackModel.invertShuffleStatus()}"
android:src="@drawable/ic_shuffle"
app:layout_constraintBottom_toBottomOf="@+id/playback_skip_next"