summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/drawer_keyword.xml
blob: 510f5b92ce0ac7b9559e2ae031e602de765830bb (plain)
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
34
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/main_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="5dp"
    android:gravity="center_vertical"
    android:orientation="horizontal">

    <androidx.appcompat.widget.AppCompatEditText
        android:id="@+id/keyword_phrase"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:hint="@string/keyword_or_phrase" />

    <androidx.appcompat.widget.AppCompatCheckBox
        android:id="@+id/whole_word"
        android:layout_width="48dp"
        android:layout_height="48dp"
        />

    <com.google.android.material.button.MaterialButton
        android:id="@+id/delete_keyword"
        style="@style/Widget.Material3.Button.OutlinedButton.Icon"
        app:icon="@drawable/ic_baseline_delete_24"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_marginStart="20dp"
        android:contentDescription="@string/delete_keyword"
        android:scaleType="fitCenter"
        app:strokeColor="?colorPrimary" />
</androidx.appcompat.widget.LinearLayoutCompat>