<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    android:background="@color/app_drawer_feed_list_background_color">

    <!-- TODO: make header scroll up with listview -->
    <RelativeLayout
        android:id="@+id/header_view"
        android:layout_width="match_parent"
        android:layout_height="100dp"
        android:padding="10dp"
        android:background="@drawable/nextcloud"
        android:clickable="true"
        android:focusable="true">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceMedium"
            tools:text='Username'
            android:id="@+id/userTextView"
            android:textColor="@android:color/white"
            android:layout_above="@+id/urlTextView"
            android:layout_toEndOf="@+id/header_logo"
            android:ellipsize="end"
            android:singleLine="true" />

        <TextView
            android:id="@+id/urlTextView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            tools:text='https://url_to_owncloud.oc'
            android:textColor="@android:color/white"
            android:layout_alignParentBottom="true"
            android:paddingBottom="5dp"
            android:layout_toEndOf="@+id/header_logo"
            android:singleLine="true"
            android:ellipsize="end" />

        <ImageView
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:id="@+id/header_logo"
            android:background="@drawable/shadow"
            android:layout_alignBottom="@+id/urlTextView"
            android:layout_alignParentStart="true"
            android:src="@mipmap/ic_launcher"
            android:layout_marginEnd="10dp"
            android:contentDescription="@string/content_desc_tap_to_refresh"/>


    </RelativeLayout>


</RelativeLayout>
