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

43 lines
1.4 KiB
XML
Raw Normal View History

2022-07-01 21:59:47 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-07-02 20:04:51 +05:30
<ScrollView 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
android:layout_width="match_parent"
android:layout_height="match_parent"
2022-07-02 21:53:24 +05:30
android:orientation="vertical">
2022-07-01 21:59:47 +05:30
2022-07-02 21:53:24 +05:30
<LinearLayout
android:layout_width="match_parent"
2022-07-02 00:47:23 +05:30
android:layout_height="wrap_content"
2022-07-02 21:53:24 +05:30
android:layout_marginBottom="8dp"
android:paddingHorizontal="8dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/watch_history"
android:textSize="16sp" />
<ImageView
android:id="@+id/clearHistory"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_gravity="center"
android:layout_marginRight="5dp"
android:src="@drawable/ic_reset" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/watchHistoryRecView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:nestedScrollingEnabled="false" />
2022-07-01 21:59:47 +05:30
2022-07-02 20:04:51 +05:30
</LinearLayout>
</ScrollView>