Fix RTL for the video items

This commit is contained in:
Nicolas Pomepuy 2024-11-13 15:08:35 +01:00
parent 14b00506de
commit f5c1ba4b15
2 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,7 @@
android:maxHeight="4dip" android:maxHeight="4dip"
android:minHeight="4dip" android:minHeight="4dip"
android:progress="@{progress}" android:progress="@{progress}"
android:layoutDirection="ltr"
android:progressDrawable="@drawable/gridview_progressbar" android:progressDrawable="@drawable/gridview_progressbar"
android:secondaryProgress="0" android:secondaryProgress="0"
android:visibility="@{progress == 0 || !showItemProgress ? View.GONE : View.VISIBLE}" android:visibility="@{progress == 0 || !showItemProgress ? View.GONE : View.VISIBLE}"

View File

@ -227,6 +227,7 @@
android:progress="@{progress}" android:progress="@{progress}"
android:progressDrawable="?attr/gridview_progressbar" android:progressDrawable="?attr/gridview_progressbar"
android:secondaryProgress="0" android:secondaryProgress="0"
android:layoutDirection="ltr"
android:visibility="@{progress == 0 || !showItemProgress ? View.GONE : View.VISIBLE}" android:visibility="@{progress == 0 || !showItemProgress ? View.GONE : View.VISIBLE}"
vlc:layout_constraintBottom_toBottomOf="@+id/ml_item_thumbnail" vlc:layout_constraintBottom_toBottomOf="@+id/ml_item_thumbnail"
vlc:layout_constraintEnd_toEndOf="@+id/ml_item_thumbnail" vlc:layout_constraintEnd_toEndOf="@+id/ml_item_thumbnail"