2022-07-01 21:59:47 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-07-29 12:17:37 +05:30
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-12-28 21:37:35 +05:30
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-07-01 21:59:47 +05:30
|
|
|
android:layout_width="match_parent"
|
2022-07-02 20:04:51 +05:30
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
2022-07-29 12:17:37 +05:30
|
|
|
android:id="@+id/history_empty"
|
2022-07-02 20:04:51 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-07-29 12:17:37 +05:30
|
|
|
android:gravity="center"
|
2023-11-09 06:32:03 +05:30
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="visible">
|
2022-07-01 21:59:47 +05:30
|
|
|
|
2022-07-29 12:17:37 +05:30
|
|
|
<ImageView
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:src="@drawable/ic_history" />
|
2022-07-02 21:53:24 +05:30
|
|
|
|
2022-07-29 12:17:37 +05:30
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
2022-07-02 21:53:24 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-07-29 12:17:37 +05:30
|
|
|
android:layout_marginHorizontal="10dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/history_empty"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold" />
|
2022-07-02 20:04:51 +05:30
|
|
|
</LinearLayout>
|
|
|
|
|
2023-01-07 23:53:43 +05:30
|
|
|
<androidx.core.widget.NestedScrollView
|
2022-12-28 21:37:35 +05:30
|
|
|
android:id="@+id/historyScrollView"
|
2022-07-29 12:17:37 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-01-07 23:53:43 +05:30
|
|
|
android:scrollbars="vertical"
|
2022-12-28 21:37:35 +05:30
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="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:maxLines="1"
|
|
|
|
android:text="@string/play_all"
|
|
|
|
app:icon="@drawable/ic_playlist" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/clear"
|
|
|
|
style="@style/Widget.Material3.Button"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginHorizontal="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/clear_history"
|
|
|
|
app:icon="@drawable/ic_delete" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2023-11-09 06:32:03 +05:30
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/filterTypeTV"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:paddingHorizontal="10dp"
|
|
|
|
android:text="@string/all"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:tooltipText="@string/tooltip_filter"
|
|
|
|
app:drawableEndCompat="@drawable/ic_filter" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/filterStatusTV"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:drawablePadding="5dp"
|
|
|
|
android:paddingHorizontal="10dp"
|
2023-11-15 21:52:56 +05:30
|
|
|
android:text="@string/watched"
|
2023-11-09 06:32:03 +05:30
|
|
|
android:textSize="16sp"
|
2023-11-15 21:52:56 +05:30
|
|
|
android:tooltipText="@string/tooltip_filter"
|
|
|
|
app:drawableEndCompat="@drawable/ic_filter" />
|
2023-11-09 06:32:03 +05:30
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2022-12-28 21:37:35 +05:30
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/watchHistoryRecView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:nestedScrollingEnabled="false" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2023-01-07 23:53:43 +05:30
|
|
|
</androidx.core.widget.NestedScrollView>
|
2022-07-29 12:17:37 +05:30
|
|
|
|
|
|
|
</FrameLayout>
|