<androidx.core.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">

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

        <androidx.cardview.widget.CardView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:cardBackgroundColor="?card_background"
            app:cardCornerRadius="0dp"
            app:cardUseCompatPadding="true"
            app:contentPaddingBottom="@dimen/spacing_xs_large"
            app:contentPaddingLeft="@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="vertical"
                android:padding="@dimen/spacing_xs_large">

                <LinearLayout
                    android:id="@+id/userInformation"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:paddingBottom="@dimen/spacing_xs_large">

                    <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:transitionName="@string/icon_transition"/>

                    <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:layout_marginStart="@dimen/spacing_xs_large"
                        android:textStyle="bold"
                        android:transitionName="@string/title_transition"
                        tools:text="Cum classis nocere"/>

                </LinearLayout>

                <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:layout_marginBottom="@dimen/spacing_normal"
                    android:layout_marginTop="@dimen/spacing_micro"
                    android:autoLink="all"
                    tools:text="What’s the secret to large and cold peanut butter? Always use quartered szechuan pepper."/>

                <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:autoLink="map"
                    android:drawablePadding="@dimen/spacing_xs_large"
                    android:drawableStart="@drawable/ic_location"
                    android:gravity="center|start"
                    android:paddingBottom="@dimen/spacing_xs_large"
                    android:paddingTop="@dimen/spacing_xs_large"
                    android:visibility="gone"
                    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:autoLink="email"
                    android:background="@drawable/top_border"
                    android:drawablePadding="@dimen/spacing_xs_large"
                    android:drawableStart="@drawable/ic_email"
                    android:gravity="center|start"
                    android:paddingBottom="@dimen/spacing_xs_large"
                    android:paddingTop="@dimen/spacing_xs_large"
                    android:visibility="gone"
                    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:autoLink="web"
                    android:background="@drawable/top_border"
                    android:drawablePadding="@dimen/spacing_xs_large"
                    android:drawableStart="@drawable/ic_insert_link"
                    android:gravity="center|start"
                    android:paddingBottom="@dimen/spacing_xs_large"
                    android:paddingTop="@dimen/spacing_xs_large"
                    android:visibility="gone"
                    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:background="@drawable/top_border"
                    android:drawablePadding="@dimen/spacing_xs_large"
                    android:drawableStart="@drawable/ic_time"
                    android:gravity="center|start"
                    android:paddingBottom="@dimen/spacing_xs_large"
                    android:paddingTop="@dimen/spacing_xs_large"
                    android:visibility="gone"
                    tools:text="Cum classis nocere"/>

                <com.fastaccess.ui.widgets.FontTextView
                    android:id="@+id/projects"
                    style="@style/Base.TextAppearance.AppCompat.Subhead"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:background="@drawable/top_border"
                    android:drawablePadding="@dimen/spacing_xs_large"
                    android:drawableStart="@drawable/ic_project"
                    android:gravity="center|start"
                    android:paddingBottom="@dimen/spacing_xs_large"
                    android:paddingTop="@dimen/spacing_xs_large"
                    android:text="@string/projects"
                    android:textColor="?colorAccent"
                    android:visibility="gone"
                    app:drawableColor="?colorAccent"/>

            </LinearLayout>

        </androidx.cardview.widget.CardView>

        <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>
</androidx.core.widget.NestedScrollView>