aboutsummaryrefslogtreecommitdiff
path: root/libs/editor/WordPressEditor/src/main/res/layout/dialog_link.xml
blob: c303163d0632b7f5b563147e7870319254f063f5 (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
35
36
37
38
39
40
41
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:orientation="vertical">

    <android.support.design.widget.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/link_dialog_margin_inner"
        android:layout_marginLeft="@dimen/link_dialog_margin_outer"
        android:layout_marginRight="@dimen/link_dialog_margin_outer"
        android:layout_marginTop="@dimen/link_dialog_margin_outer">

        <EditText
            android:id="@+id/linkURL"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="@string/link_enter_url"
            android:imeOptions="actionNext"
            android:inputType="textUri"
            tools:ignore="HardcodedText" />
    </android.support.design.widget.TextInputLayout>

    <android.support.design.widget.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/link_dialog_margin_outer"
        android:layout_marginLeft="@dimen/link_dialog_margin_outer"
        android:layout_marginRight="@dimen/link_dialog_margin_outer"
        android:layout_marginTop="@dimen/link_dialog_margin_inner">

        <EditText
            android:id="@+id/linkText"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="@string/link_enter_url_text"
            android:inputType="text" />
    </android.support.design.widget.TextInputLayout>
</LinearLayout>