<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/AccountsView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".AccountsActivity" >

    <ListView
        android:id="@+id/accounts"
        android:layout_width="fill_parent"
        android:layout_height="match_parent"
        android:layout_above="@id/newAor"
        android:transcriptMode="alwaysScroll" >
    </ListView>

        <EditText
            android:id="@+id/newAor"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:textSize="20sp"
            android:layout_alignParentStart="true"
            android:layout_alignParentBottom="true"
            android:layout_marginStart="0dp"
            android:layout_toStartOf="@+id/addAccount"
            android:inputType="textEmailAddress"
            android:autofillHints="username"
            android:scrollHorizontally="true"
            android:hint="@string/user_domain"
            android:textColorHint="@color/colorSecondaryDark" >
        </EditText>

        <ImageButton
            android:id="@+id/addAccount"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_alignParentEnd="true"
            android:layout_alignParentBottom="true"
            android:layout_gravity="end"
            android:layout_marginStart="6dp"
            android:src="@drawable/plus"
            android:background="@null"
            android:contentDescription="@string/add"
            android:scaleType="centerCrop" >
        </ImageButton>

</RelativeLayout>


