LibreTube/app/src/main/res/layout/fragment_watch_history.xml

37 lines
1.3 KiB
XML
Raw Normal View History

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-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"
2022-07-02 21:53:24 +05:30
android:orientation="vertical">
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>
2022-07-29 12:17:37 +05:30
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/watchHistoryRecView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
2022-07-29 12:17:37 +05:30
android:nestedScrollingEnabled="false"
android:visibility="gone" />
</FrameLayout>