<android.support.v4.widget.NestedScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clipToPadding="false"
    android:paddingBottom="@dimen/spacing_xs_large"
    android:paddingEnd="@dimen/layout_margin"
    android:paddingStart="@dimen/layout_margin"
    android:paddingTop="@dimen/spacing_normal">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="top|center">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/spacing_normal"
            android:layout_marginTop="@dimen/spacing_normal"
            android:gravity="center"
            android:orientation="vertical">


            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="@dimen/spacing_xs_large">

                <android.support.v7.widget.CardView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    app:cardBackgroundColor="?card_background"
                    app:cardUseCompatPadding="true"
                    app:contentPaddingBottom="@dimen/spacing_normal"
                    app:contentPaddingRight="@dimen/spacing_xs_large"
                    app:contentPaddingTop="@dimen/spacing_normal">

                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="horizontal">

                        <com.fastaccess.ui.widgets.AvatarLayout
                            android:id="@+id/avatarLayout"
                            android:layout_width="@dimen/keyline_1"
                            android:layout_height="@dimen/keyline_1"
                            android:layout_gravity="top|center"
                            android:layout_marginEnd="@dimen/avatar_margin_end"
                            android:layout_marginStart="@dimen/avatar_margin"
                            android:transitionName="@string/icon_transition"/>

                        <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/Base.TextAppearance.AppCompat.Title"
                                android:layout_width="match_parent"
                                android:layout_height="wrap_content"
                                android:layout_gravity="center"
                                android:textStyle="bold"
                                android:transitionName="@string/title_transition"
                                tools:text="Cum classis nocere"/>

                            <com.fastaccess.ui.widgets.FontTextView
                                android:id="@+id/description"
                                style="@style/Base.TextAppearance.AppCompat.Small"
                                android:layout_width="match_parent"
                                android:layout_height="wrap_content"
                                android:layout_gravity="center"
                                android:autoLink="all"
                                tools:text="What’s the secret to large and cold peanut butter? Always use quartered szechuan pepper."/>
                        </LinearLayout>
                    </LinearLayout>

                </android.support.v7.widget.CardView>
            </LinearLayout>


            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content">

                <android.support.v7.widget.CardView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    app:cardBackgroundColor="?card_background"
                    app:cardUseCompatPadding="true"
                    app:contentPaddingBottom="@dimen/spacing_normal"
                    app:contentPaddingLeft="@dimen/spacing_xs_large"
                    app:contentPaddingRight="@dimen/spacing_xs_large"
                    app:contentPaddingTop="@dimen/spacing_normal">

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

                        <com.fastaccess.ui.widgets.FontTextView
                            android:id="@+id/location"
                            style="@style/Base.TextAppearance.AppCompat.Subhead"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginBottom="@dimen/spacing_normal"
                            android:autoLink="map"
                            android:drawablePadding="@dimen/spacing_xs_large"
                            android:drawableStart="@drawable/ic_location"

                            tools:text="Cum classis nocere"/>

                        <com.fastaccess.ui.widgets.FontTextView
                            android:id="@+id/email"
                            style="@style/Base.TextAppearance.AppCompat.Subhead"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginBottom="@dimen/spacing_normal"
                            android:autoLink="email"
                            android:drawablePadding="@dimen/spacing_xs_large"
                            android:drawableStart="@drawable/ic_email"
                            tools:text="Cum classis nocere"/>

                        <com.fastaccess.ui.widgets.FontTextView
                            android:id="@+id/link"
                            style="@style/Base.TextAppearance.AppCompat.Subhead"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginBottom="@dimen/spacing_normal"
                            android:autoLink="web"
                            android:drawablePadding="@dimen/spacing_xs_large"
                            android:drawableStart="@drawable/ic_insert_link"
                            tools:text="Cum classis nocere"/>

                        <com.fastaccess.ui.widgets.FontTextView
                            android:id="@+id/joined"
                            style="@style/Base.TextAppearance.AppCompat.Subhead"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:drawablePadding="@dimen/spacing_xs_large"
                            android:drawableStart="@drawable/ic_time"
                            tools:text="Cum classis nocere"/>
                    </LinearLayout>

                </android.support.v7.widget.CardView>
            </LinearLayout>

        </LinearLayout>

        <LinearLayout
            android:id="@+id/progress"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="?android:attr/windowBackground"
            android:visibility="gone">

            <ProgressBar
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center"/>
        </LinearLayout>

    </FrameLayout>
</android.support.v4.widget.NestedScrollView>