app/src/main/res/layout/nav_header_main.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/nav_header_main"
android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height"
android:background="@android:color/transparent"
android:gravity="bottom"
android:orientation="vertical"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingBottom="@dimen/activity_vertical_margin">
<ImageView
android:id="@+id/nav_user_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/nav_header_desc"
android:paddingTop="@dimen/nav_header_vertical_spacing"
app:srcCompat="@mipmap/asteroid_launcher_round" />
<TextView
android:id="@+id/nav_user_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/nunitosans_bold"
android:paddingTop="@dimen/nav_header_vertical_spacing"
android:text="@string/nav_header_title" />
<TextView
android:id="@+id/nav_user_email"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/nunitosans_regular"
android:text="@string/nav_header_subtitle" />
</LinearLayout>