fixed bug: Playlist title blocks text/element below it

This commit is contained in:
Danila Gorlov
2026-02-26 17:59:31 +03:00
parent a8decdb0d9
commit 624ef3c6e9
2 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -35,7 +35,7 @@
android:maxLines="2" android:maxLines="2"
app:layout_constraintLeft_toRightOf="@id/image_video_thumbnail" app:layout_constraintLeft_toRightOf="@id/image_video_thumbnail"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toLeftOf="@+id/button_trash"
app:layout_constraintBottom_toTopOf="@id/text_metadata" app:layout_constraintBottom_toTopOf="@id/text_metadata"
android:layout_marginStart="10dp" /> android:layout_marginStart="10dp" />
@@ -51,7 +51,7 @@
android:maxLines="1" android:maxLines="1"
app:layout_constraintTop_toBottomOf="@id/text_name" app:layout_constraintTop_toBottomOf="@id/text_name"
app:layout_constraintLeft_toRightOf="@id/image_video_thumbnail" app:layout_constraintLeft_toRightOf="@id/image_video_thumbnail"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toLeftOf="@+id/button_trash"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginStart="10dp" /> android:layout_marginStart="10dp" />
+8 -1
View File
@@ -12,6 +12,7 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <TextView
android:id="@+id/videodetail_up_next" android:id="@+id/videodetail_up_next"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -23,18 +24,23 @@
android:includeFontPadding="false" android:includeFontPadding="false"
android:textSize="17dp" android:textSize="17dp"
android:text="@string/up_next" /> android:text="@string/up_next" />
<TextView <TextView
android:id="@+id/videodetail_queue_type" android:id="@+id/videodetail_queue_type"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="@color/gray_ac" android:textColor="@color/gray_ac"
android:fontFamily="@font/inter_extra_light" android:fontFamily="@font/inter_extra_light"
android:includeFontPadding="false" android:includeFontPadding="false"
app:layout_constraintLeft_toRightOf="@id/videodetail_up_next" app:layout_constraintLeft_toRightOf="@id/videodetail_up_next"
app:layout_constraintBottom_toBottomOf="@id/videodetail_up_next" app:layout_constraintBottom_toBottomOf="@id/videodetail_up_next"
app:layout_constraintRight_toLeftOf="@id/videodetail_queue_position"
android:layout_marginLeft="6dp" android:layout_marginLeft="6dp"
android:maxLines="1"
android:ellipsize="end"
android:textSize="14dp" android:textSize="14dp"
android:text="@string/queue" /> android:text="@string/queue" />
<TextView <TextView
android:id="@+id/videodetail_queue_position" android:id="@+id/videodetail_queue_position"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -47,6 +53,7 @@
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:textSize="12dp" android:textSize="12dp"
tools:text="1/4" /> tools:text="1/4" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout <LinearLayout