2017-09-03 06:04:18 +00:00
<?xml version="1.0" encoding="utf-8"?>
2020-10-09 18:24:02 +00:00
<RelativeLayout xmlns:android= "http://schemas.android.com/apk/res/android"
2017-09-03 06:04:18 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-11-11 22:47:34 +00:00
android:background="?attr/contrast_background_color">
2017-09-03 06:04:18 +00:00
2021-09-04 17:32:38 +00:00
<org.schabi.newpipe.views.NewPipeTextView
2017-09-06 00:48:48 +00:00
android:id="@+id/playlist_title_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="2"
2020-10-09 18:24:02 +00:00
android:paddingHorizontal="@dimen/video_item_search_padding"
android:paddingTop="@dimen/video_item_search_padding"
2017-09-06 00:48:48 +00:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="@dimen/playlist_detail_title_text_size"
2017-10-28 17:08:01 +00:00
tools:text="Mix musics #23 title Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsumLorem ipsum" />
2017-09-06 00:48:48 +00:00
2017-09-04 18:05:13 +00:00
<RelativeLayout
2020-10-09 18:24:02 +00:00
android:id="@+id/playlist_meta"
2017-09-03 06:04:18 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-09-06 00:48:48 +00:00
android:layout_below="@+id/playlist_title_view"
2020-07-26 10:04:40 +00:00
android:paddingHorizontal="@dimen/video_item_search_padding"
2020-10-09 18:24:02 +00:00
android:paddingTop="6dp">
2017-09-06 00:48:48 +00:00
<RelativeLayout
android:id="@+id/uploader_layout"
android:layout_width="wrap_content"
android:layout_height="@dimen/playlist_detail_uploader_layout_height"
android:layout_toStartOf="@+id/playlist_stream_count"
2020-10-09 18:24:02 +00:00
android:layout_toLeftOf="@+id/playlist_stream_count"
2017-09-06 00:48:48 +00:00
android:background="?attr/selectableItemBackground"
android:gravity="left|center_vertical"
android:visibility="gone"
tools:ignore="RtlHardcoded"
tools:visibility="visible">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/uploader_avatar_view"
android:layout_width="@dimen/playlist_detail_uploader_image_size"
android:layout_height="@dimen/playlist_detail_uploader_image_size"
android:layout_alignParentLeft="true"
2020-10-09 18:24:02 +00:00
android:layout_centerVertical="true"
2017-09-06 00:48:48 +00:00
android:src="@drawable/buddy"
app:civ_border_color="#ffffff"
2020-10-09 18:24:02 +00:00
app:civ_border_width="1dp" />
2017-09-06 00:48:48 +00:00
2021-09-04 17:32:38 +00:00
<org.schabi.newpipe.views.NewPipeTextView
2017-09-06 00:48:48 +00:00
android:id="@+id/uploader_name"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/uploader_avatar_view"
android:ellipsize="end"
android:gravity="left|center_vertical"
android:maxLines="1"
2020-10-09 18:24:02 +00:00
android:paddingHorizontal="6dp"
2017-09-06 00:48:48 +00:00
android:textSize="@dimen/playlist_detail_subtext_size"
tools:ignore="RtlHardcoded"
2020-10-09 18:24:02 +00:00
tools:text="Typical uploader name" />
2017-09-06 00:48:48 +00:00
</RelativeLayout>
2021-09-04 17:32:38 +00:00
<org.schabi.newpipe.views.NewPipeTextView
2017-09-06 00:48:48 +00:00
android:id="@+id/playlist_stream_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/uploader_layout"
2020-10-09 18:24:02 +00:00
android:layout_alignBottom="@+id/uploader_layout"
2017-09-06 00:48:48 +00:00
android:layout_alignParentRight="true"
2020-07-26 10:04:40 +00:00
android:layout_marginLeft="6dp"
2017-09-06 00:48:48 +00:00
android:ellipsize="end"
android:gravity="right|center_vertical"
android:maxLines="1"
android:textSize="@dimen/playlist_detail_subtext_size"
tools:ignore="RtlHardcoded"
2020-10-09 18:24:02 +00:00
tools:text="234 videos" />
2017-09-06 00:48:48 +00:00
</RelativeLayout>
2017-11-11 22:47:34 +00:00
<LinearLayout
2017-09-06 00:48:48 +00:00
android:layout_width="match_parent"
2017-11-12 08:16:51 +00:00
android:layout_height="wrap_content"
android:layout_below="@id/playlist_meta">
2017-11-11 22:47:34 +00:00
2020-11-03 05:19:19 +00:00
<include
android:id="@+id/playlist_control"
layout="@layout/playlist_control" />
2017-11-11 22:47:34 +00:00
</LinearLayout>
2017-09-03 06:04:18 +00:00
2020-10-09 18:24:02 +00:00
</RelativeLayout>