2020-03-31 07:34:05 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-10-09 18:24:02 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-01-16 19:48:52 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:layout_height="match_parent">
|
2018-01-16 19:48:52 +00:00
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/newPlaylist"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
2018-01-16 19:48:52 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/newPlaylistIcon"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="28dp"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="12dp"
|
|
|
|
android:layout_marginRight="12dp"
|
2021-03-27 14:45:49 +00:00
|
|
|
app:srcCompat="@drawable/ic_playlist_add"
|
2020-10-09 18:24:02 +00:00
|
|
|
tools:ignore="ContentDescription,RtlHardcoded" />
|
2018-01-16 19:48:52 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_toRightOf="@+id/newPlaylistIcon"
|
|
|
|
android:gravity="left|center"
|
2018-01-29 07:01:06 +00:00
|
|
|
android:text="@string/create_playlist"
|
2018-01-16 19:48:52 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:textStyle="bold"
|
2020-10-09 18:24:02 +00:00
|
|
|
tools:ignore="RtlHardcoded" />
|
2018-01-16 19:48:52 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/separator"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_below="@+id/newPlaylist"
|
|
|
|
android:layout_marginLeft="@dimen/video_item_search_padding"
|
|
|
|
android:layout_marginRight="@dimen/video_item_search_padding"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:background="?attr/separator_color" />
|
2018-01-16 19:48:52 +00:00
|
|
|
|
2019-10-04 12:59:08 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2018-01-16 19:48:52 +00:00
|
|
|
android:id="@+id/playlist_list"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/separator"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
android:visibility="gone"
|
2020-10-09 18:24:02 +00:00
|
|
|
tools:listitem="@layout/list_playlist_mini_item"
|
|
|
|
tools:visibility="visible" />
|
2018-01-16 19:48:52 +00:00
|
|
|
</RelativeLayout>
|