[Android] Fix display settings layout overlap

Nicolas Pomepuy git at videolan.org
Wed Feb 14 13:38:51 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Feb 14 12:34:24 2024 +0100| [7ca5a3e1b21006001879571270c1683a0a7f8952] | committer: Nicolas Pomepuy

Fix display settings layout overlap

Fixes #3031

> https://code.videolan.org/videolan/vlc-android/commit/7ca5a3e1b21006001879571270c1683a0a7f8952
---

 application/vlc-android/res/layout/dialog_display_settings.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/application/vlc-android/res/layout/dialog_display_settings.xml b/application/vlc-android/res/layout/dialog_display_settings.xml
index a0f63d960a..d61af657dd 100644
--- a/application/vlc-android/res/layout/dialog_display_settings.xml
+++ b/application/vlc-android/res/layout/dialog_display_settings.xml
@@ -169,10 +169,12 @@
                     android:layout_height="wrap_content"
                     android:layout_marginStart="24dp"
                     android:layout_marginEnd="16dp"
+                    android:ellipsize="end"
+                    android:maxLines="1"
                     android:text="@string/video_min_group_length_title"
                     android:textSize="16sp"
                     app:layout_constraintBottom_toBottomOf="@+id/video_groups_group"
-                    app:layout_constraintEnd_toStartOf="@+id/spinner2"
+                    app:layout_constraintEnd_toStartOf="@+id/video_group_spinner"
                     app:layout_constraintStart_toStartOf="@+id/video_groups_group"
                     app:layout_constraintTop_toTopOf="@+id/video_groups_group" />
 



More information about the Android mailing list