<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/calibratePortrait"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginBottom="@dimen/preference_margin_bottom"
    android:layout_marginEnd="@dimen/preference_margin_right"
    android:layout_marginLeft="@dimen/preference_margin_left"
    android:layout_marginRight="@dimen/preference_margin_right"
    android:layout_marginStart="@dimen/preference_margin_left"
    android:layout_marginTop="@dimen/preference_margin_top"
    android:layout_weight="1">

    <android.widget.VerticalSeekBar
        android:id="@+id/seekbar_vertical"
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        android:layout_marginEnd="10dp"
        android:layout_marginRight="10dp"
        android:layout_alignTop="@+id/button_calibrate" />

    <Button
        android:id="@+id/button_calibrate"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/portrait_calibrate_keyboard_height"
        android:layout_marginTop="22dp"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true" />

</RelativeLayout>