blob: 8409171849097c238b2caee4d2e01736cab56b1f (
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
42
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_medium"
android:layout_gravity="center_vertical">
<EditText
android:id="@+id/linkURL"
android:inputType="textUri"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/link_enter_url"
android:imeOptions="actionNext" />
<EditText
android:id="@+id/linkText"
android:inputType="text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/linkURL"
android:hint="@string/link_enter_url_text" />
<Button
android:id="@+id/ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/linkText"
android:layout_alignParentRight="true"
android:layout_marginLeft="@dimen/margin_medium"
android:text="@android:string/ok" />
<Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/ok"
android:layout_toLeftOf="@id/ok"
android:text="@android:string/cancel" />
</RelativeLayout>
|