1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-23 02:35:21 +01:00

Optimize list UI

This commit is contained in:
Hamza417 2024-08-13 01:14:10 +05:30
parent abac499511
commit 5f313cc11a

View File

@ -41,11 +41,12 @@
android:id="@+id/itemVideoTitleView" android:id="@+id/itemVideoTitleView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/video_item_search_image_right_margin" android:layout_marginStart="@dimen/video_item_search_padding"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="2" android:maxLines="2"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="@dimen/video_item_search_title_text_size" android:textSize="@dimen/video_item_search_title_text_size"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/itemUploaderView" app:layout_constraintBottom_toTopOf="@+id/itemUploaderView"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/itemThumbnailView" app:layout_constraintStart_toEndOf="@+id/itemThumbnailView"
@ -60,6 +61,7 @@
android:lines="1" android:lines="1"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/video_item_search_uploader_text_size" android:textSize="@dimen/video_item_search_uploader_text_size"
android:textStyle="italic"
app:layout_constraintBottom_toTopOf="@+id/itemAdditionalDetails" app:layout_constraintBottom_toTopOf="@+id/itemAdditionalDetails"
app:layout_constraintEnd_toEndOf="@+id/itemVideoTitleView" app:layout_constraintEnd_toEndOf="@+id/itemVideoTitleView"
app:layout_constraintStart_toStartOf="@+id/itemVideoTitleView" app:layout_constraintStart_toStartOf="@+id/itemVideoTitleView"