<?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">
    <EditText
        android:id="@+id/cred_username"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:hint="@string/hint_username" />
    <EditText
        android:id="@+id/cred_password"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/cred_username"
        android:singleLine="true"
        android:password="true"
        android:hint="@string/hint_pass" />
    <Spinner
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/cred_password"
        android:entries="@array/cred_remember_modes"
        android:id="@+id/cred_remember_mode" />
</RelativeLayout>