[Android] Album screen: change the icons order to a more natural one
Nicolas Pomepuy
git at videolan.org
Mon Oct 9 14:10:53 UTC 2023
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Oct 9 10:32:22 2023 +0200| [e25cd9aeef67c75ddd6c096e66f5a801e04f37e5] | committer: Nicolas Pomepuy
Album screen: change the icons order to a more natural one
> https://code.videolan.org/videolan/vlc-android/commit/e25cd9aeef67c75ddd6c096e66f5a801e04f37e5
---
.../res/layout/header_media_list_activity.xml | 28 +++++++++++-----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/application/vlc-android/res/layout/header_media_list_activity.xml b/application/vlc-android/res/layout/header_media_list_activity.xml
index 20d12ac2f4..57814be760 100644
--- a/application/vlc-android/res/layout/header_media_list_activity.xml
+++ b/application/vlc-android/res/layout/header_media_list_activity.xml
@@ -182,29 +182,29 @@
android:id="@+id/btn_add_playlist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/default_margin"
+ android:layout_marginStart="8dp"
android:clickable="true"
- android:foreground="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/add_to_playlist"
+ android:foreground="?attr/selectableItemBackgroundBorderless"
android:padding="4dp"
- vlc:srcCompat="@drawable/ic_album_addtoplaylist"
vlc:layout_constraintBottom_toBottomOf="@id/play_btn"
- vlc:layout_constraintStart_toEndOf="@id/play_btn"
- vlc:layout_constraintTop_toTopOf="@id/play_btn" />
+ vlc:layout_constraintStart_toEndOf="@+id/btn_shuffle"
+ vlc:layout_constraintTop_toTopOf="@id/play_btn"
+ vlc:srcCompat="@drawable/ic_album_addtoplaylist" />
<ImageView
android:id="@+id/btn_shuffle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
+ android:layout_marginStart="16dp"
android:clickable="true"
- android:foreground="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/shuffle_all_title"
+ android:foreground="?attr/selectableItemBackgroundBorderless"
android:padding="4dp"
- vlc:srcCompat="@drawable/ic_album_shuffle"
vlc:layout_constraintBottom_toBottomOf="@id/play_btn"
- vlc:layout_constraintStart_toEndOf="@id/btn_add_playlist"
- vlc:layout_constraintTop_toTopOf="@id/play_btn" />
+ vlc:layout_constraintStart_toEndOf="@+id/play_btn"
+ vlc:layout_constraintTop_toTopOf="@id/play_btn"
+ vlc:srcCompat="@drawable/ic_album_shuffle" />
<ImageView
android:id="@+id/btn_favorite"
@@ -212,13 +212,13 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:clickable="true"
- android:foreground="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/favorites_add"
+ android:foreground="?attr/selectableItemBackgroundBorderless"
android:padding="4dp"
- vlc:srcCompat="@drawable/ic_am_favorite"
vlc:layout_constraintBottom_toBottomOf="@id/play_btn"
- vlc:layout_constraintStart_toEndOf="@id/btn_shuffle"
- vlc:layout_constraintTop_toTopOf="@id/play_btn" />
+ vlc:layout_constraintStart_toEndOf="@+id/btn_add_playlist"
+ vlc:layout_constraintTop_toTopOf="@id/play_btn"
+ vlc:srcCompat="@drawable/ic_am_favorite" />
</androidx.constraintlayout.widget.ConstraintLayout>
More information about the Android
mailing list