[Android] Fix TV streams overflow icon not shown

Nicolas Pomepuy git at videolan.org
Fri Feb 4 06:14:26 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Feb  3 12:25:49 2022 +0100| [9f589ef553685fbced0e1b2bb4505417d6062d72] | committer: Nicolas Pomepuy

Fix TV streams overflow icon not shown

Fixes #2331

> https://code.videolan.org/videolan/vlc-android/commit/9f589ef553685fbced0e1b2bb4505417d6062d72
---

 application/vlc-android/res/layout/mrl_item.xml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/application/vlc-android/res/layout/mrl_item.xml b/application/vlc-android/res/layout/mrl_item.xml
index fa4d60af4..3f027abaf 100644
--- a/application/vlc-android/res/layout/mrl_item.xml
+++ b/application/vlc-android/res/layout/mrl_item.xml
@@ -16,8 +16,9 @@
                 android:background="@drawable/rectangle_circle_right_white_selector"
                 android:clickable="true"
                 android:focusable="true"
+                android:nextFocusRight="@+id/mrl_ctx"
                 app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toStartOf="@+id/mrl_ctx"
+                app:layout_constraintEnd_toEndOf="parent"
                 app:layout_constraintStart_toStartOf="parent"
                 app:layout_constraintTop_toTopOf="parent" />
 
@@ -52,14 +53,16 @@
                 app:layout_constraintStart_toStartOf="parent"
                 app:layout_constraintTop_toBottomOf="@+id/mrl_item_title" />
 
-        <ImageView
+        <androidx.appcompat.widget.AppCompatImageView
                 android:id="@+id/mrl_ctx"
                 android:layout_width="wrap_content"
                 android:layout_height="0dp"
+                android:layout_marginEnd="8dp"
                 android:background="?attr/selectableItemBackgroundBorderless"
-                app:layout_constraintTop_toTopOf="parent"
+                android:nextFocusLeft="@+id/selector"
                 app:layout_constraintBottom_toBottomOf="parent"
                 app:layout_constraintEnd_toEndOf="parent"
+                app:layout_constraintTop_toTopOf="parent"
                 app:srcCompat="@drawable/ic_more" />
     </androidx.constraintlayout.widget.ConstraintLayout>
 </layout>



More information about the Android mailing list