<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    android:id="@+id/userHolder"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/spacing_xs_large"
    android:foreground="?selectableItemBackground"
    android:gravity="bottom"
    android:orientation="vertical"
    android:paddingBottom="@dimen/spacing_s_large"
    android:paddingTop="@dimen/spacing_large">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:paddingEnd="@dimen/spacing_normal"
        tools:ignore="RtlSymmetry">

        <com.fastaccess.ui.widgets.AvatarLayout
            android:id="@+id/avatarLayout"
            android:layout_width="@dimen/header_icon_zie"
            android:layout_height="@dimen/header_icon_zie"
            android:layout_marginEnd="@dimen/avatar_margin_end"
            android:layout_marginStart="@dimen/avatar_margin"/>


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:orientation="vertical">

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/username"
                style="@style/TextAppearance.AppCompat.Title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:ellipsize="marquee"
                android:maxLines="1"
                android:text="@string/app_name"/>

            <com.fastaccess.ui.widgets.FontTextView
                android:id="@+id/email"
                style="@style/TextAppearance.AppCompat.Medium"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:ellipsize="marquee"
                android:maxLines="1"
                android:text="@string/app_name"
                tools:visibility="gone"/>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>