[Android] VideoBrowserList: fix marker seen overlapping sd
Duncan McNamara
git at videolan.org
Fri Jun 17 05:20:48 UTC 2022
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Jun 16 17:28:31 2022 +0200| [c87248771ef0bea52af3939ae0aecfe2d8081e4f] | committer: Duncan McNamara
VideoBrowserList: fix marker seen overlapping sd
The seen marker is constrained to the start of the parent or the end of
the network marker. Since adding seperate markers for otg or sd, the
seen marker can overlap them. To fix this, it set to the end of the
parent.
> https://code.videolan.org/videolan/vlc-android/commit/c87248771ef0bea52af3939ae0aecfe2d8081e4f
---
application/vlc-android/res/layout/video_list_card.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/application/vlc-android/res/layout/video_list_card.xml b/application/vlc-android/res/layout/video_list_card.xml
index 97e704630..4ccd6f2c2 100644
--- a/application/vlc-android/res/layout/video_list_card.xml
+++ b/application/vlc-android/res/layout/video_list_card.xml
@@ -180,15 +180,15 @@
android:id="@+id/ml_item_seen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
android:layout_marginTop="4dp"
+ android:layout_marginEnd="4dp"
vlc:layout_goneMarginStart="4dp"
android:background="@drawable/rounded_corners_black_more_transparent"
android:padding="3dp"
android:visibility="@{seen == 0L ? View.GONE : View.VISIBLE, default=gone}"
tools:visibility="visible"
- vlc:layout_constraintStart_toEndOf="@+id/network_media"
vlc:layout_constraintTop_toTopOf="parent"
+ vlc:layout_constraintEnd_toEndOf="parent"
vlc:srcCompat="@drawable/ic_check" />
<ImageView
More information about the Android
mailing list