2021-12-09 18:25:32 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-04-16 23:46:43 +05:30
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
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"
|
|
|
|
tools:context=".Library">
|
|
|
|
|
2022-01-28 22:40:32 +05:30
|
|
|
<RelativeLayout
|
2022-04-12 23:55:08 +05:30
|
|
|
android:id="@+id/loginOrRegister2"
|
2021-12-09 18:25:32 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-01-28 22:40:32 +05:30
|
|
|
android:layout_centerHorizontal="true"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:layout_centerVertical="true">
|
2022-01-28 22:40:32 +05:30
|
|
|
|
|
|
|
<ImageView
|
2022-04-12 23:55:08 +05:30
|
|
|
android:id="@+id/boogh2"
|
2022-01-28 22:40:32 +05:30
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:layout_marginBottom="16dp"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:src="@drawable/ic_login" />
|
|
|
|
|
2022-01-28 22:40:32 +05:30
|
|
|
<TextView
|
2022-04-12 23:55:08 +05:30
|
|
|
android:id="@+id/textLike2"
|
2022-01-28 22:40:32 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:layout_below="@id/boogh2"
|
2022-01-28 22:40:32 +05:30
|
|
|
android:layout_centerHorizontal="true"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/please_login"
|
2022-01-28 22:40:32 +05:30
|
|
|
android:textSize="20sp"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:textStyle="bold" />
|
2022-01-28 22:40:32 +05:30
|
|
|
</RelativeLayout>
|
2021-12-09 18:25:32 +05:30
|
|
|
|
2022-04-12 23:55:08 +05:30
|
|
|
<com.github.libretube.CustomSwipeToRefresh
|
|
|
|
android:id="@+id/playlist_refresh"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/scrollview_playlist"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2022-04-15 16:56:06 +05:30
|
|
|
android:layout_height="match_parent"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:orientation="vertical">
|
2022-04-16 23:46:43 +05:30
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/outlinedTextField"
|
|
|
|
style="@style/Widget.Material3.CardView.Filled"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:hintEnabled="false"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:background="@android:color/transparent">
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/playlists_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:hint="@string/playlistName"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2022-04-15 16:56:06 +05:30
|
|
|
<Button
|
|
|
|
android:id="@+id/create_playlist"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/createPlaylist"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:drawableLeft="@drawable/ic_add"/>
|
2022-04-12 23:55:08 +05:30
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
2022-04-15 16:56:06 +05:30
|
|
|
android:layout_height="match_parent"
|
2022-04-12 23:55:08 +05:30
|
|
|
android:descendantFocusability="blocksDescendants">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/playlist_recView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:nestedScrollingEnabled="false" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</com.github.libretube.CustomSwipeToRefresh>
|
2021-12-09 18:25:32 +05:30
|
|
|
</FrameLayout>
|