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

40 lines
1.7 KiB
XML
Raw Normal View History

2022-05-09 22:15:39 +05:30
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-06-27 22:47:52 +05:30
android:background="?android:attr/selectableItemBackground"
2022-06-27 22:16:44 +05:30
android:paddingHorizontal="16dp"
2022-06-27 22:47:52 +05:30
android:paddingVertical="8dp">
2022-05-09 22:15:39 +05:30
<ImageView
android:id="@+id/history_icon"
android:layout_width="0dp"
android:layout_height="wrap_content"
2022-06-27 22:47:52 +05:30
android:layout_margin="5dp"
android:src="@drawable/ic_history"
app:layout_constraintBottom_toBottomOf="parent"
2022-06-27 22:47:52 +05:30
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2022-06-03 22:19:48 +05:30
2022-05-09 22:15:39 +05:30
<TextView
android:id="@+id/history_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
2022-06-27 22:16:44 +05:30
android:layout_marginHorizontal="8dp"
2022-05-09 22:15:39 +05:30
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/delete_history"
app:layout_constraintStart_toEndOf="@id/history_icon"
2022-05-09 22:15:39 +05:30
app:layout_constraintTop_toTopOf="parent" />
2022-06-27 22:16:44 +05:30
<ImageView
2022-05-09 22:15:39 +05:30
android:id="@+id/delete_history"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:padding="5dp"
2022-06-06 19:36:53 +05:30
android:src="@drawable/ic_close"
2022-05-09 22:15:39 +05:30
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:shapeAppearanceOverlay="@style/roundedImageViewRounded" />
</androidx.constraintlayout.widget.ConstraintLayout>