mihon/app/src/main/res/layout/navigation_header.xml

22 lines
831 B
XML
Raw Normal View History

<?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 14:22:40 +01:00
android:layout_height="@dimen/navigation_drawer_header_height"
android:gravity="bottom"
android:theme="@style/ThemeOverlay.AppCompat.Dark">
<ImageView
android:layout_width="match_parent"
2016-03-12 14:22:40 +01:00
android:layout_height="match_parent"
android:background="@color/colorPrimary"
2016-03-12 14:22:40 +01:00
android:scaleType="centerCrop"/>
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
2016-03-12 14:22:40 +01:00
android:layout_marginLeft="16dp"
android:layout_marginTop="@dimen/navigation_drawer_header_margin"
android:scaleType="centerCrop"
2016-03-12 14:22:40 +01:00
android:src="@drawable/icon"/>
</FrameLayout>