[Android] Fix RTL for the video items
Nicolas Pomepuy
git at videolan.org
Fri Nov 22 13:53:24 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Nov 13 15:08:35 2024 +0100| [f5c1ba4b159aa1ab936175ec130483e61612b0a8] | committer: Nicolas Pomepuy
Fix RTL for the video items
> https://code.videolan.org/videolan/vlc-android/commit/f5c1ba4b159aa1ab936175ec130483e61612b0a8
---
application/vlc-android/res/layout/video_grid_card.xml | 1 +
application/vlc-android/res/layout/video_list_card.xml | 1 +
2 files changed, 2 insertions(+)
diff --git a/application/vlc-android/res/layout/video_grid_card.xml b/application/vlc-android/res/layout/video_grid_card.xml
index 246430c4e5..67b0559aa8 100644
--- a/application/vlc-android/res/layout/video_grid_card.xml
+++ b/application/vlc-android/res/layout/video_grid_card.xml
@@ -304,6 +304,7 @@
android:maxHeight="4dip"
android:minHeight="4dip"
android:progress="@{progress}"
+ android:layoutDirection="ltr"
android:progressDrawable="@drawable/gridview_progressbar"
android:secondaryProgress="0"
android:visibility="@{progress == 0 || !showItemProgress ? View.GONE : View.VISIBLE}"
diff --git a/application/vlc-android/res/layout/video_list_card.xml b/application/vlc-android/res/layout/video_list_card.xml
index ba625d97ee..3728be5eba 100644
--- a/application/vlc-android/res/layout/video_list_card.xml
+++ b/application/vlc-android/res/layout/video_list_card.xml
@@ -227,6 +227,7 @@
android:progress="@{progress}"
android:progressDrawable="?attr/gridview_progressbar"
android:secondaryProgress="0"
+ android:layoutDirection="ltr"
android:visibility="@{progress == 0 || !showItemProgress ? View.GONE : View.VISIBLE}"
vlc:layout_constraintBottom_toBottomOf="@+id/ml_item_thumbnail"
vlc:layout_constraintEnd_toEndOf="@+id/ml_item_thumbnail"
More information about the Android
mailing list