dialog_dnsrule_search.xml 1.78 KB
Newer Older
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
<?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"
        android:padding="16dp"
        android:gravity="center_horizontal"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

    <TextView
            android:layout_width="wrap_content"
            android:text="@string/dialog_dnsrules_search_message"
            android:layout_height="wrap_content" />

    <com.google.android.material.textfield.TextInputLayout
            android:layout_width="match_parent"
            android:paddingLeft="32dp"
            android:paddingRight="32dp"
            android:layout_marginTop="32dp"
            android:id="@+id/searchTermTIL"
            android:visibility="visible"
            app:errorEnabled="true"
            android:textColorHint="?android:attr/textColorSecondary"
            android:layout_height="wrap_content">

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

    <TextView
            android:layout_width="wrap_content"
            android:id="@+id/searchResult"
            android:layout_height="wrap_content" />

</LinearLayout>