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

39 lines
1.6 KiB
XML
Raw Normal View History

2022-06-10 14:28:33 +05:30
<?xml version="1.0" encoding="utf-8"?>
2022-06-27 22:16:44 +05:30
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2022-06-10 14:28:33 +05:30
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-06-10 14:28:33 +05:30
<ImageView
android:id="@+id/search_icon"
2022-06-27 22:16:44 +05:30
android:layout_width="0dp"
android:layout_height="wrap_content"
2022-06-27 22:47:52 +05:30
android:layout_margin="5dp"
2022-06-10 14:28:33 +05:30
android:src="@drawable/ic_search"
2022-06-27 22:16:44 +05:30
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-10 14:28:33 +05:30
<TextView
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"
2022-06-27 22:16:44 +05:30
android:layout_marginHorizontal="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/arrow"
app:layout_constraintStart_toEndOf="@id/search_icon"
app:layout_constraintTop_toTopOf="parent" />
2022-06-10 14:28:33 +05:30
2022-06-27 22:16:44 +05:30
<ImageView
android:id="@+id/arrow"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="5dp"
android:src="@drawable/ic_arrow_up_left"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:shapeAppearanceOverlay="@style/roundedImageViewRounded" />
</androidx.constraintlayout.widget.ConstraintLayout>