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

39 lines
1.3 KiB
XML
Raw Normal View History

2021-12-28 01:37:07 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-08-01 01:47:36 +05:30
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2021-12-28 01:37:07 +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.SearchFragment">
2021-12-28 01:37:07 +05:30
2022-08-01 01:47:36 +05:30
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/suggestions_recycler"
2022-05-09 22:10:51 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-08-01 01:47:36 +05:30
android:layout_marginVertical="10dp" />
2021-12-28 01:37:07 +05:30
2022-08-01 12:47:36 +05:30
<LinearLayout
android:id="@+id/history_empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical"
android:visibility="gone">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center"
android:layout_marginVertical="10dp"
android:src="@drawable/ic_history" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/history_empty"
android:textAlignment="center"
android:textSize="20sp"
android:textStyle="bold" />
</LinearLayout>
2022-08-01 01:47:36 +05:30
</FrameLayout>