dialog_dnsrule_search.xml 1.94 KB
Newer Older
1
2
3
4
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
5
6
        android:layout_width="match_parent"
        android:layout_height="match_parent"
7
8
        android:gravity="center_horizontal"
        android:orientation="vertical"
9
        android:padding="16dp">
10
11
12

    <TextView
            android:layout_width="wrap_content"
13
14
            android:layout_height="wrap_content"
            android:text="@string/dialog_dnsrules_search_message" />
15
16

    <com.google.android.material.textfield.TextInputLayout
17
            android:id="@+id/searchTermTIL"
18
            android:layout_width="match_parent"
19
20
            android:layout_height="wrap_content"
            android:layout_marginTop="32dp"
21
22
23
            android:paddingLeft="32dp"
            android:paddingRight="32dp"
            android:textColorHint="?android:attr/textColorSecondary"
24
25
            android:visibility="visible"
            app:errorEnabled="true">
26
27

        <com.google.android.material.textfield.TextInputEditText
28
                android:id="@+id/searchTerm"
29
                android:layout_width="match_parent"
30
                android:layout_height="wrap_content"
31
                android:hint="@string/hint_searchterm"
32
                android:inputType="textUri"
33
                android:text="example.com"
34
                android:textAlignment="viewStart"
35
36
                android:textDirection="locale"
                tools:ignore="HardcodedText" />
37
38
39
40
    </com.google.android.material.textfield.TextInputLayout>

    <TextView
            android:id="@+id/searchResult"
41
42
43
44
45
46
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

    <TextView
            android:id="@+id/searchResultRule"
            android:layout_width="wrap_content"
47
48
49
            android:layout_height="wrap_content" />

</LinearLayout>