<android.support.constraint.ConstraintLayout
    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="wrap_content"
    android:paddingStart="16dp"
    android:paddingEnd="16dp">

    <View
        android:id="@+id/topView"
        android:layout_width="match_parent"
        android:background="@color/colorPrimary"
        android:layout_height="120dp"
        android:layout_marginEnd="0dp"
        android:layout_marginStart="0dp"
        android:layout_marginTop="45dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <cy.agorise.crystalwallet.util.CircularImageView
        android:id="@+id/user_img"
        android:layout_width="90dp"
        android:layout_height="90dp"
        android:src="@drawable/avatar_placeholder"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <ImageView
        android:layout_width="24dp"
        android:layout_height="45dp"
        app:srcCompat="@drawable/ic_lightning_24dp"
        app:layout_constraintStart_toStartOf="@id/user_img"
        app:layout_constraintBottom_toBottomOf="@id/user_img"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/user_name_placeholder"
        android:textColor="@color/white"
        android:textSize="16sp"
        android:textStyle="bold"
        android:layout_marginTop="20dp"
        app:layout_constraintTop_toTopOf="@id/topView"
        app:layout_constraintBottom_toBottomOf="@id/topView"
        app:layout_constraintStart_toStartOf="@id/topView"
        app:layout_constraintEnd_toEndOf="@id/topView"/>

    <View
        android:id="@+id/secondView"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="@color/lightGray"
        app:layout_constraintTop_toBottomOf="@id/topView"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/my_accounts"
        android:textColor="@color/darkGray"
        android:textSize="16sp"
        android:textStyle="bold"
        android:layout_marginStart="32dp"
        app:layout_constraintTop_toTopOf="@id/secondView"
        app:layout_constraintStart_toStartOf="@id/secondView"
        app:layout_constraintBottom_toBottomOf="@id/secondView"/>

    <android.support.design.widget.FloatingActionButton
        android:id="@+id/fabAddAccount"
        android:layout_width="55dp"
        android:layout_height="55dp"
        app:fabSize="normal"
        app:backgroundTint="@color/colorPrimary"
        app:srcCompat="@drawable/ic_add_24dp"
        android:layout_marginTop="12dp"
        android:layout_marginEnd="32dp"
        app:layout_constraintTop_toTopOf="@id/secondView"
        app:layout_constraintEnd_toEndOf="parent" />

    <View
        android:id="@+id/thirdView"
        android:layout_width="match_parent"
        android:layout_height="250dp"
        android:background="@color/white"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/secondView"/>

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="@string/dont_have_multiple_accounts"
        android:textSize="16sp"
        android:textAlignment="center"
        android:layout_marginEnd="64dp"
        android:layout_marginStart="64dp"
        app:layout_constraintEnd_toEndOf="@id/thirdView"
        app:layout_constraintStart_toStartOf="@id/thirdView"
        app:layout_constraintTop_toTopOf="@id/thirdView"
        app:layout_constraintBottom_toBottomOf="@id/thirdView"/>

    <View
        android:id="@+id/forthView"
        android:layout_width="match_parent"
        android:layout_height="60dp"
        android:background="@color/lightGray"
        app:layout_constraintTop_toBottomOf="@id/thirdView"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"/>

    <ImageView
        android:id="@+id/ivSettings"
        android:layout_width="20dp"
        android:layout_height="20dp"
        app:srcCompat="@drawable/ic_settings_24dp"
        android:layout_marginStart="24dp"
        app:layout_constraintTop_toTopOf="@id/forthView"
        app:layout_constraintBottom_toBottomOf="@id/forthView"
        app:layout_constraintStart_toStartOf="@id/forthView"/>

    <TextView
        android:id="@+id/tvSettings"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/settings"
        android:textStyle="bold"
        android:layout_marginStart="8dp"
        app:layout_constraintStart_toEndOf="@id/ivSettings"
        app:layout_constraintTop_toTopOf="@id/forthView"
        app:layout_constraintBottom_toBottomOf="@id/forthView"/>

    <TextView
        android:id="@+id/tvClose"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/close"
        android:textStyle="bold"
        android:layout_marginEnd="24dp"
        app:layout_constraintEnd_toEndOf="@id/forthView"
        app:layout_constraintTop_toTopOf="@id/forthView"
        app:layout_constraintBottom_toBottomOf="@id/forthView"/>

</android.support.constraint.ConstraintLayout>
