Skip to content

Commit

Permalink
detail: fix play icon alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
OxygenCobalt committed Nov 8, 2024
1 parent d6e09dc commit 85bd1f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/layout-h360dp/fragment_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_mid_medium"
android:layout_marginEnd="@dimen/spacing_small"
android:paddingStart="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_mid_medium"
android:text="@string/lbl_play"
app:icon="@drawable/ic_play_24"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout-h480dp/fragment_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_mid_medium"
android:layout_marginEnd="@dimen/spacing_small"
android:paddingStart="@dimen/spacing_medium"
android:text="@string/lbl_play"
app:icon="@drawable/ic_play_24"
app:layout_constraintEnd_toStartOf="@+id/detail_shuffle_button"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout-sw600dp/fragment_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_small"
android:text="@string/lbl_play"
android:paddingStart="@dimen/spacing_medium"
app:icon="@drawable/ic_play_24"
app:layout_constraintBottom_toBottomOf="@+id/detail_cover"
app:layout_constraintEnd_toStartOf="@+id/detail_shuffle_button"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout-w600dp/fragment_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacing_mid_medium"
android:layout_marginEnd="@dimen/spacing_small"
android:paddingStart="@dimen/spacing_medium"
android:layout_marginBottom="@dimen/spacing_mid_medium"
android:text="@string/lbl_play"
app:icon="@drawable/ic_play_24"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/styles_ui.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,12 @@

<style name="Widget.Auxio.Button.Primary" parent="Widget.Material3.Button">
<item name="iconGravity">textStart</item>
<item name="iconSize">@dimen/size_icon_small</item>
</style>

<style name="Widget.Auxio.Button.Secondary" parent="Widget.Material3.Button.TonalButton">
<item name="iconGravity">textStart</item>
<item name="iconSize">@dimen/size_icon_small</item>
</style>

<style name="Widget.Auxio.Button.Icon.Base" parent="Widget.Material3.Button.IconButton">
Expand Down

0 comments on commit 85bd1f0

Please sign in to comment.