2022-06-10 14:28:33 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-02-01 22:32:28 +05:30
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-06-27 22:16:44 +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"
|
2023-02-01 22:32:28 +05:30
|
|
|
android:layout_width="match_parent"
|
2023-02-12 16:57:57 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:background="?android:attr/selectableItemBackground"
|
2023-02-01 22:32:28 +05:30
|
|
|
android:gravity="center_vertical"
|
2023-02-12 16:57:57 +05:30
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingHorizontal="16dp"
|
|
|
|
android:paddingVertical="8dp">
|
2022-06-10 14:28:33 +05:30
|
|
|
|
2023-02-01 22:32:28 +05:30
|
|
|
<com.github.libretube.ui.views.DrawableTextView
|
2022-06-10 14:28:33 +05:30
|
|
|
android:id="@+id/suggestion_text"
|
2022-06-27 22:16:44 +05:30
|
|
|
android:layout_width="0dp"
|
2022-06-10 14:28:33 +05:30
|
|
|
android:layout_height="wrap_content"
|
2023-02-01 22:32:28 +05:30
|
|
|
android:layout_marginEnd="10dp"
|
2023-02-12 16:57:57 +05:30
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawablePadding="15dp"
|
|
|
|
android:textAlignment="viewStart"
|
2023-02-01 22:32:28 +05:30
|
|
|
app:drawableStartCompat="@drawable/ic_search"
|
|
|
|
tools:text="Suggestion item" />
|
2022-06-10 14:28:33 +05:30
|
|
|
|
2023-02-12 16:57:57 +05:30
|
|
|
<ImageView
|
|
|
|
android:id="@+id/delete_history"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:src="@drawable/ic_close"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:shapeAppearanceOverlay="@style/roundedImageViewRounded" />
|
|
|
|
|
2022-06-27 22:16:44 +05:30
|
|
|
<ImageView
|
|
|
|
android:id="@+id/arrow"
|
2023-02-01 22:32:28 +05:30
|
|
|
android:layout_width="wrap_content"
|
2022-06-27 22:16:44 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-11-21 19:28:17 +05:30
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2022-06-27 22:16:44 +05:30
|
|
|
android:padding="5dp"
|
|
|
|
android:src="@drawable/ic_arrow_up_left"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:shapeAppearanceOverlay="@style/roundedImageViewRounded" />
|
2023-02-01 22:32:28 +05:30
|
|
|
</LinearLayout>
|