2016-03-09 04:22:45 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
2016-03-12 21:22:40 +08:00
|
|
|
android:layout_height="@dimen/navigation_drawer_header_height"
|
2016-03-09 04:22:45 +08:00
|
|
|
android:gravity="bottom"
|
|
|
|
android:theme="@style/ThemeOverlay.AppCompat.Dark">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="match_parent"
|
2016-03-12 21:22:40 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:scaleType="centerCrop"/>
|
2016-03-09 04:22:45 +08:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="64dp"
|
|
|
|
android:layout_height="64dp"
|
2016-03-12 21:22:40 +08:00
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginTop="@dimen/navigation_drawer_header_margin"
|
2016-03-09 04:22:45 +08:00
|
|
|
android:scaleType="centerCrop"
|
2016-03-12 21:22:40 +08:00
|
|
|
android:src="@drawable/icon"/>
|
2016-03-09 04:22:45 +08:00
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<!--
|
2016-03-09 04:22:45 +08:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="52dp"
|
|
|
|
android:layout_gravity="left|bottom"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
android:paddingRight="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
2016-03-12 21:22:40 +08:00
|
|
|
android:text="John Doe"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
|
|
|
|
android:visibility="gone"/>
|
2016-03-09 04:22:45 +08:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
2016-03-12 21:22:40 +08:00
|
|
|
android:text="email@email.com"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
|
|
android:visibility="gone"/>
|
2016-03-09 04:22:45 +08:00
|
|
|
|
|
|
|
</LinearLayout>
|
2016-03-12 21:22:40 +08:00
|
|
|
-->
|
2016-03-09 04:22:45 +08:00
|
|
|
|
|
|
|
</FrameLayout>
|