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

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