<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="192dp"
    android:theme="@style/ThemeOverlay.AppCompat.Dark">

    <ImageView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/colorPrimary"
        android:scaleType="centerCrop"
        android:src="@drawable/bg_header" />

    <ImageView
        android:id="@+id/iv_avatar"
        android:layout_width="80dp"
        android:layout_height="80dp"
        android:layout_above="@+id/tv_desc"
        android:layout_marginLeft="@dimen/spacing_16"
        android:src="@drawable/avatar_round" />

    <TextView
        android:layout_width="match_parent"
        android:layout_height="80dp"
        android:layout_above="@+id/tv_desc"
        android:layout_marginLeft="@dimen/spacing_16"
        android:layout_toRightOf="@id/iv_avatar"
        android:gravity="center_vertical"
        android:text="@string/author"
        android:textColor="@color/white"
        android:textSize="@dimen/font_40"
        android:textStyle="bold" />

    <TextView
        android:id="@+id/tv_desc"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_marginBottom="@dimen/spacing_16"
        android:layout_marginLeft="@dimen/spacing_16"
        android:layout_marginTop="@dimen/spacing_8"
        android:text="@string/demo_of_android_util_code"
        android:textColor="@color/white"
        android:textSize="@dimen/font_16" />
</RelativeLayout>
