2021-12-09 18:25:32 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-06-02 21:37:09 +05:30
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-04-16 23:46:43 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-12-09 18:25:32 +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.LibraryFragment">
|
2021-12-09 18:25:32 +05:30
|
|
|
|
2022-07-02 20:00:47 +05:30
|
|
|
<RelativeLayout
|
2022-11-20 20:24:55 +05:30
|
|
|
android:id="@+id/nothing_here"
|
2022-07-01 21:59:47 +05:30
|
|
|
android:layout_width="match_parent"
|
2022-11-20 20:24:55 +05:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone">
|
2022-07-02 20:00:47 +05:30
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/boogh"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginBottom="16dp"
|
2022-11-20 20:24:55 +05:30
|
|
|
android:src="@drawable/ic_list" />
|
2022-07-02 20:00:47 +05:30
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text_like"
|
|
|
|
android:layout_width="wrap_content"
|
2022-01-28 22:40:32 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-07-02 20:00:47 +05:30
|
|
|
android:layout_below="@id/boogh"
|
2022-01-28 22:40:32 +05:30
|
|
|
android:layout_centerHorizontal="true"
|
2022-07-08 22:20:11 +05:30
|
|
|
android:layout_marginHorizontal="10dp"
|
2022-07-02 20:00:47 +05:30
|
|
|
android:gravity="center"
|
2022-11-20 20:24:55 +05:30
|
|
|
android:text="@string/emptyList"
|
2022-07-02 20:00:47 +05:30
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2022-09-20 23:23:34 +05:30
|
|
|
<com.github.libretube.ui.views.CustomSwipeToRefresh
|
2022-07-02 20:00:47 +05:30
|
|
|
android:id="@+id/playlist_refresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/scrollview_playlist"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2022-07-02 20:00:47 +05:30
|
|
|
<LinearLayout
|
2022-04-12 23:55:08 +05:30
|
|
|
android:layout_width="match_parent"
|
2022-07-08 17:49:29 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-07-02 20:00:47 +05:30
|
|
|
android:orientation="vertical">
|
2022-05-01 23:26:09 +05:30
|
|
|
|
2022-11-19 15:22:27 +05:30
|
|
|
<TextView
|
|
|
|
android:id="@+id/watch_history"
|
2022-07-02 20:00:47 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2022-11-19 15:22:27 +05:30
|
|
|
android:drawablePadding="10dp"
|
|
|
|
android:paddingHorizontal="15dp"
|
|
|
|
android:paddingVertical="12dp"
|
|
|
|
android:text="@string/watch_history"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:drawableStartCompat="@drawable/ic_time_outlined" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/bookmarks"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:drawablePadding="10dp"
|
|
|
|
android:paddingHorizontal="15dp"
|
|
|
|
android:paddingVertical="12dp"
|
|
|
|
android:text="@string/bookmarks"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:drawableStartCompat="@drawable/ic_bookmark_outlined" />
|
|
|
|
|
|
|
|
<TextView
|
2022-09-09 17:53:39 +05:30
|
|
|
android:id="@+id/downloads"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2022-11-19 15:22:27 +05:30
|
|
|
android:drawablePadding="10dp"
|
|
|
|
android:paddingHorizontal="15dp"
|
|
|
|
android:paddingVertical="12dp"
|
|
|
|
android:text="@string/downloads"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:drawableStartCompat="@drawable/ic_download" />
|
2022-09-09 17:53:39 +05:30
|
|
|
|
2022-07-02 20:00:47 +05:30
|
|
|
<RelativeLayout
|
2022-04-12 23:55:08 +05:30
|
|
|
android:layout_width="match_parent"
|
2022-04-15 16:56:06 +05:30
|
|
|
android:layout_height="match_parent"
|
2022-11-19 15:22:27 +05:30
|
|
|
android:layout_marginTop="10dp"
|
2022-07-02 20:00:47 +05:30
|
|
|
android:descendantFocusability="blocksDescendants">
|
2022-04-12 23:55:08 +05:30
|
|
|
|
2022-07-02 20:00:47 +05:30
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/playlist_recView"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-07-02 20:00:47 +05:30
|
|
|
android:nestedScrollingEnabled="false" />
|
2022-06-02 21:37:09 +05:30
|
|
|
|
2022-07-02 20:00:47 +05:30
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
2022-09-20 23:23:34 +05:30
|
|
|
</com.github.libretube.ui.views.CustomSwipeToRefresh>
|
2022-07-01 21:59:47 +05:30
|
|
|
|
2022-06-04 11:46:54 +05:30
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/create_playlist"
|
|
|
|
android:layout_width="wrap_content"
|
2022-06-02 21:37:09 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-06-04 11:46:54 +05:30
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
app:backgroundTint="?attr/colorSecondary"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:srcCompat="@drawable/ic_add"
|
|
|
|
app:tint="?android:attr/colorBackground" />
|
2022-06-02 21:37:09 +05:30
|
|
|
|
2021-12-09 18:25:32 +05:30
|
|
|
</FrameLayout>
|