<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical">

    <include layout="@layout/toolbar" />

    <ScrollView
        android:layout_width="fill_parent"
        android:layout_height="0dp"
        android:layout_marginBottom="54dip"
        android:layout_weight="1"
        android:fadingEdge="none"
        android:padding="6dip"
        android:scrollbarStyle="outsideInset">

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text="@string/account_setup_options_mail_check_frequency_label"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="?android:attr/textColorPrimary"
                />

            <Spinner
                android:id="@+id/account_check_frequency"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:contentDescription="@string/account_setup_options_mail_check_frequency_label" />

            <TextView
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text="@string/account_setup_options_mail_display_count_label"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="?android:attr/textColorPrimary" />

            <Spinner
                android:id="@+id/account_display_count"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:contentDescription="@string/account_setup_options_mail_display_count_label" />

            <CheckBox
                android:id="@+id/account_notify"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:text="@string/account_setup_options_notify_label"
                android:textColor="?android:attr/textColorPrimary" />

            <View
                android:layout_width="fill_parent"
                android:layout_height="0dp"
                android:layout_weight="1" />
        </LinearLayout>
    </ScrollView>

    <include layout="@layout/wizard_next" />
</LinearLayout>
