[Android] Albums: fix item emoji icon superposition
Duncan McNamara
git at videolan.org
Mon Sep 19 12:29:35 UTC 2022
vlc-android | branch: 3.5.x | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Sep 14 14:31:32 2022 +0200| [fab0348e7b1e88f4466c3a13130edbd164f3bd45] | committer: Nicolas Pomepuy
Albums: fix item emoji icon superposition
(cherry picked from commit 82f7c037481ffb8222dfe088138b1f3b2b888a85)
> https://code.videolan.org/videolan/vlc-android/commit/fab0348e7b1e88f4466c3a13130edbd164f3bd45
---
application/vlc-android/res/layout/audio_album_track_item.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/application/vlc-android/res/layout/audio_album_track_item.xml b/application/vlc-android/res/layout/audio_album_track_item.xml
index 1bb0d0880..758cf0915 100644
--- a/application/vlc-android/res/layout/audio_album_track_item.xml
+++ b/application/vlc-android/res/layout/audio_album_track_item.xml
@@ -120,7 +120,7 @@
android:layout_height="wrap_content"
android:background="@drawable/rounded_corners_black_more_transparent"
android:padding="3dp"
- android:visibility="@{isNetwork ? View.VISIBLE : View.GONE}"
+ android:visibility="@{isNetwork & isPresent? View.VISIBLE : View.GONE}"
vlc:layout_constraintBottom_toBottomOf="parent"
vlc:layout_constraintEnd_toStartOf="@id/item_more"
vlc:layout_constraintTop_toTopOf="parent"
@@ -132,7 +132,7 @@
android:layout_height="wrap_content"
android:background="@drawable/rounded_corners_black_more_transparent"
android:padding="3dp"
- android:visibility="@{isSD ? View.VISIBLE : View.GONE}"
+ android:visibility="@{isSD & isPresent ? View.VISIBLE : View.GONE}"
vlc:layout_constraintBottom_toBottomOf="parent"
vlc:layout_constraintEnd_toStartOf="@id/item_more"
vlc:layout_constraintTop_toTopOf="parent"
@@ -144,7 +144,7 @@
android:layout_height="wrap_content"
android:background="@drawable/rounded_corners_black_more_transparent"
android:padding="3dp"
- android:visibility="@{isOTG ? View.VISIBLE : View.GONE}"
+ android:visibility="@{isOTG & !isPresent ? View.VISIBLE : View.GONE}"
vlc:layout_constraintBottom_toBottomOf="parent"
vlc:layout_constraintEnd_toStartOf="@id/item_more"
vlc:layout_constraintTop_toTopOf="parent"
More information about the Android
mailing list