aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_recent_search_query.xml
blob: e23e7378ee314a23bb88d0d43e1ce24dc27497a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:clickable="true"
    android:focusable="true"
    android:background="?attr/selectableItemBackground">

    <TextView
        android:id="@+id/recent_search_query_text_view_item_recent_search_query"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:layout_gravity="center_vertical"
        android:gravity="center_vertical"
        android:fontFamily="?attr/font_family"
        android:textSize="?attr/font_default"
        android:padding="16dp"
        android:drawablePadding="16dp" />

    <com.google.android.material.button.MaterialButton
        android:id="@+id/delete_button_item_recent_search_query"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:padding="16dp"
        app:strokeWidth="0dp"
        app:iconSize="24dp"
        app:iconTint="@null"
        style="?attr/materialIconButtonOutlinedStyle" />

</LinearLayout>