[Android] Albums: fix item emoji icon superposition
Duncan McNamara
git at videolan.org
Fri Sep 16 08:05:33 UTC 2022
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Sep 14 14:31:32 2022 +0200| [82f7c037481ffb8222dfe088138b1f3b2b888a85] | committer: Nicolas Pomepuy
Albums: fix item emoji icon superposition
> https://code.videolan.org/videolan/vlc-android/commit/82f7c037481ffb8222dfe088138b1f3b2b888a85
---
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