mirror of https://github.com/FongMi/TV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.7 KiB
52 lines
1.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:keepScreenOn="true"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="24dp"
|
|
android:paddingTop="24dp"
|
|
android:paddingEnd="24dp"
|
|
android:paddingBottom="16dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="start"
|
|
android:text="@string/home_history"
|
|
android:textColor="@color/white"
|
|
android:textSize="24sp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/delete"
|
|
android:layout_width="32dp"
|
|
android:layout_height="32dp"
|
|
android:background="@drawable/selector_image"
|
|
android:src="@drawable/ic_action_delete"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
android:paddingStart="24dp"
|
|
android:paddingEnd="24dp"
|
|
android:paddingBottom="24dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|