2022-02-06 18:40:27 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-06-21 01:17:35 +05:30
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-11-06 17:05:23 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-02-06 18:40:27 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-09-20 23:23:34 +05:30
|
|
|
tools:context=".ui.fragments.PlaylistFragment">
|
2022-06-21 01:17:35 +05:30
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/playlist_progress"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
2022-06-21 01:47:13 +05:30
|
|
|
android:visibility="gone" />
|
2022-06-21 01:17:35 +05:30
|
|
|
|
|
|
|
<ScrollView
|
2022-06-27 22:47:52 +05:30
|
|
|
android:id="@+id/playlist_scrollview"
|
2022-06-21 01:17:35 +05:30
|
|
|
android:layout_width="match_parent"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:layout_height="match_parent">
|
2022-02-06 18:40:27 +05:30
|
|
|
|
2022-06-21 01:47:13 +05:30
|
|
|
<LinearLayout
|
2022-06-03 22:19:48 +05:30
|
|
|
android:layout_width="match_parent"
|
2022-08-08 18:52:08 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:orientation="vertical">
|
2022-02-06 18:40:27 +05:30
|
|
|
|
2022-11-06 17:05:23 +05:30
|
|
|
<com.google.android.material.imageview.ShapeableImageView
|
|
|
|
android:id="@+id/thumbnail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="20dp"
|
|
|
|
android:layout_marginVertical="10dp"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
app:shapeAppearanceOverlay="@style/ShapeAppearance.Material3.Corner.ExtraLarge"
|
|
|
|
tools:src="@tools:sample/backgrounds/scenic" />
|
|
|
|
|
2022-07-08 17:30:11 +05:30
|
|
|
<LinearLayout
|
2022-06-21 01:47:13 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-11-06 20:20:52 +05:30
|
|
|
android:layout_marginTop="8dp"
|
2022-07-08 22:20:11 +05:30
|
|
|
android:orientation="horizontal"
|
2022-11-06 20:20:52 +05:30
|
|
|
android:paddingHorizontal="15dp">
|
2022-07-08 17:30:11 +05:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/playlist_name"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2022-11-07 23:48:55 +05:30
|
|
|
android:background="@drawable/rounded_ripple"
|
2022-11-06 20:20:52 +05:30
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:textSize="20sp"
|
2022-07-08 17:30:11 +05:30
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/optionsMenu"
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_gravity="center"
|
2022-07-28 19:41:35 +05:30
|
|
|
android:layout_marginEnd="10dp"
|
2022-07-08 17:30:11 +05:30
|
|
|
android:src="@drawable/ic_three_dots" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-06-03 22:19:48 +05:30
|
|
|
|
2022-06-21 01:47:13 +05:30
|
|
|
<TextView
|
2022-11-06 17:05:23 +05:30
|
|
|
android:id="@+id/playlistInfo"
|
2022-06-21 01:47:13 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-11-06 17:05:23 +05:30
|
|
|
android:paddingHorizontal="15dp"
|
|
|
|
android:paddingVertical="8dp"
|
2022-06-21 01:47:13 +05:30
|
|
|
android:textStyle="bold" />
|
2022-06-03 22:19:48 +05:30
|
|
|
|
2022-11-06 17:05:23 +05:30
|
|
|
<LinearLayout
|
2022-06-21 01:47:13 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-11-06 17:05:23 +05:30
|
|
|
android:layout_marginVertical="10dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/play_all"
|
|
|
|
style="@style/Widget.Material3.Button.OutlinedButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/play_all"
|
|
|
|
app:icon="@drawable/ic_playlist" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
2022-11-18 22:31:11 +05:30
|
|
|
android:id="@+id/bookmark"
|
2022-11-06 17:05:23 +05:30
|
|
|
style="@style/Widget.Material3.Button"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="10dp"
|
|
|
|
android:layout_weight="1"
|
2022-11-18 22:31:11 +05:30
|
|
|
android:text="@string/bookmark"
|
|
|
|
app:icon="@drawable/ic_bookmark_outlined" />
|
2022-11-06 17:05:23 +05:30
|
|
|
|
|
|
|
</LinearLayout>
|
2022-06-03 22:19:48 +05:30
|
|
|
|
2022-06-21 01:47:13 +05:30
|
|
|
<RelativeLayout
|
2022-06-03 22:19:48 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-06-21 01:47:13 +05:30
|
|
|
android:descendantFocusability="blocksDescendants">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/playlist_recView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-11-17 20:19:37 +05:30
|
|
|
android:clipToPadding="false"
|
|
|
|
android:nestedScrollingEnabled="false"
|
|
|
|
android:paddingBottom="64dp" />
|
2022-06-21 01:47:13 +05:30
|
|
|
</RelativeLayout>
|
2022-02-06 18:40:27 +05:30
|
|
|
|
2022-06-21 01:47:13 +05:30
|
|
|
</LinearLayout>
|
2022-02-06 18:40:27 +05:30
|
|
|
|
2022-06-21 01:47:13 +05:30
|
|
|
</ScrollView>
|
2022-02-06 18:40:27 +05:30
|
|
|
|
2022-06-21 01:17:35 +05:30
|
|
|
</RelativeLayout>
|