<?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>
