Merge pull request #11711 from Stypox/prepare-for-0.27.3

Actually fix playlist bookmark layout
This commit is contained in:
Stypox 2024-11-17 16:55:02 +01:00 committed by GitHub
commit e6c03bf4ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -207,7 +207,7 @@ dependencies {
// This works thanks to JitPack: https://jitpack.io/ // This works thanks to JitPack: https://jitpack.io/
implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751' implementation 'com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751'
// WORKAROUND: v0.24.2 can't be resolved by jitpack -> use git commit hash instead // WORKAROUND: v0.24.2 can't be resolved by jitpack -> use git commit hash instead
implementation 'com.github.TeamNewPipe:NewPipeExtractor:176da72cb4c3ec4679211339b0e59f6b01bf2f52' implementation 'com.github.TeamNewPipe:NewPipeExtractor:ea1a1d1375efd5936ed2609d0fa3e31d5097a835'
implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0' implementation 'com.github.TeamNewPipe:NoNonsense-FilePicker:5.0.0'
/** Checkstyle **/ /** Checkstyle **/

View File

@ -13,12 +13,11 @@
<ImageView <ImageView
android:id="@+id/itemThumbnailView" android:id="@+id/itemThumbnailView"
android:layout_width="90dp" android:layout_width="90dp"
android:layout_height="50dp"
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_marginRight="@dimen/video_item_search_image_right_margin" android:layout_marginRight="@dimen/video_item_search_image_right_margin"
android:layout_alignTop="@id/itemTitleView"
android:layout_alignBottom="@id/itemUploaderView"
android:scaleType="centerCrop" android:scaleType="centerCrop"
android:src="@drawable/placeholder_thumbnail_playlist" android:src="@drawable/placeholder_thumbnail_playlist"
tools:ignore="RtlHardcoded" /> tools:ignore="RtlHardcoded" />
@ -46,6 +45,7 @@
<ImageView <ImageView
android:id="@+id/itemHandle" android:id="@+id/itemHandle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_alignTop="@id/itemTitleView" android:layout_alignTop="@id/itemTitleView"
@ -78,10 +78,11 @@
android:layout_below="@+id/itemTitleView" android:layout_below="@+id/itemTitleView"
android:layout_toLeftOf="@id/itemHandle" android:layout_toLeftOf="@id/itemHandle"
android:layout_toRightOf="@+id/itemThumbnailView" android:layout_toRightOf="@+id/itemThumbnailView"
android:ellipsize="end"
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"
tools:ignore="RtlHardcoded" tools:ignore="RtlHardcoded"
tools:text="Uploader" /> tools:text="Uploader really long lorem ipsum dolor sit amet consectetur" />
</RelativeLayout> </RelativeLayout>