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

35 lines
1.4 KiB
XML
Raw Normal View History

2022-05-09 22:15:39 +05:30
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-05-09 22:15:39 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
2023-01-31 22:47:45 +05:30
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:orientation="horizontal"
2022-06-27 22:47:52 +05:30
android:background="?android:attr/selectableItemBackground"
2022-06-27 22:16:44 +05:30
android:paddingHorizontal="16dp"
android:gravity="center_vertical"
android:paddingVertical="8dp"
android:layout_height="wrap_content">
2022-06-03 22:19:48 +05:30
<com.github.libretube.ui.views.DrawableTextView
2022-05-09 22:15:39 +05:30
android:id="@+id/history_text"
android:layout_width="0dp"
android:layout_weight="1"
2022-05-09 22:15:39 +05:30
android:layout_height="wrap_content"
2023-01-31 22:47:45 +05:30
android:textAlignment="viewStart"
android:drawablePadding="15dp"
android:layout_marginEnd="10dp"
app:drawableStartCompat="@drawable/ic_history"
tools:text="Suggestion item" />
2022-05-09 22:15:39 +05:30
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="wrap_content"
2022-05-09 22:15:39 +05:30
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless"
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" />
</LinearLayout>