detail: add icons to play/shuffle

This commit is contained in:
Alexander Capehart 2024-11-07 13:42:55 -07:00
parent 211b815a20
commit 1d19d00798
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
5 changed files with 14 additions and 2 deletions

View file

@ -113,6 +113,7 @@
android:layout_marginEnd="@dimen/spacing_small"
android:layout_marginBottom="@dimen/spacing_mid_medium"
android:text="@string/lbl_play"
app:icon="@drawable/ic_play_24"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/detail_shuffle_button"
app:layout_constraintHorizontal_bias="0.5"
@ -126,6 +127,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_small"
android:text="@string/lbl_shuffle"
app:icon="@drawable/ic_shuffle_off_24"
app:layout_constraintBottom_toBottomOf="@+id/detail_play_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/detail_play_button"

View file

@ -97,6 +97,7 @@
android:layout_marginTop="@dimen/spacing_mid_medium"
android:layout_marginEnd="@dimen/spacing_small"
android:text="@string/lbl_play"
app:icon="@drawable/ic_play_24"
app:layout_constraintEnd_toStartOf="@+id/detail_shuffle_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/detail_info" />
@ -108,6 +109,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_small"
android:text="@string/lbl_shuffle"
app:icon="@drawable/ic_shuffle_off_24"
app:layout_constraintBottom_toBottomOf="@+id/detail_play_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/detail_play_button"

View file

@ -110,6 +110,7 @@
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_small"
android:text="@string/lbl_play"
app:icon="@drawable/ic_play_24"
app:layout_constraintBottom_toBottomOf="@+id/detail_cover"
app:layout_constraintEnd_toStartOf="@+id/detail_shuffle_button"
app:layout_constraintHorizontal_bias="0.5"
@ -123,6 +124,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_small"
android:text="@string/lbl_shuffle"
app:icon="@drawable/ic_shuffle_off_24"
app:layout_constraintBottom_toBottomOf="@+id/detail_play_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/detail_play_button"

View file

@ -113,6 +113,7 @@
android:layout_marginEnd="@dimen/spacing_small"
android:layout_marginBottom="@dimen/spacing_mid_medium"
android:text="@string/lbl_play"
app:icon="@drawable/ic_play_24"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/detail_shuffle_button"
app:layout_constraintHorizontal_bias="0.5"
@ -126,6 +127,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacing_small"
android:text="@string/lbl_shuffle"
app:icon="@drawable/ic_shuffle_off_24"
app:layout_constraintBottom_toBottomOf="@+id/detail_play_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/detail_play_button"

View file

@ -247,9 +247,13 @@
<!-- BUTTON STYLES -->
<style name="Widget.Auxio.Button.Primary" parent="Widget.Material3.Button" />
<style name="Widget.Auxio.Button.Primary" parent="Widget.Material3.Button">
<item name="iconGravity">textStart</item>
</style>
<style name="Widget.Auxio.Button.Secondary" parent="Widget.Material3.Button.TonalButton" />
<style name="Widget.Auxio.Button.Secondary" parent="Widget.Material3.Button.TonalButton">
<item name="iconGravity">textStart</item>
</style>
<style name="Widget.Auxio.Button.Icon.Base" parent="Widget.Material3.Button.IconButton">
<item name="materialThemeOverlay">@style/ThemeOverlay.Auxio.UncheckableIconButton</item>