2015-02-11 12:54:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
2015-06-04 11:56:54 +00:00
|
|
|
android:layout_height="120dp"
|
2015-02-11 12:54:04 +00:00
|
|
|
android:orientation="vertical"
|
2015-02-11 17:07:03 +00:00
|
|
|
android:weightSum="1"
|
|
|
|
android:clickable="false">
|
2015-02-11 12:54:04 +00:00
|
|
|
|
|
|
|
|
2015-02-11 17:07:03 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
android:src="@drawable/drawer_header"
|
|
|
|
android:scaleType="fitXY"
|
2015-02-12 11:28:03 +00:00
|
|
|
android:tint="?colorPrimaryDark"
|
2015-02-11 17:07:03 +00:00
|
|
|
android:tintMode="multiply" />
|
2015-02-11 12:54:04 +00:00
|
|
|
|
2015-06-01 19:39:33 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:background="@drawable/circle_bg"
|
2015-06-02 05:55:00 +00:00
|
|
|
android:clickable="true"
|
2015-06-01 19:39:33 +00:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
2015-06-01 20:25:46 +00:00
|
|
|
android:layout_marginRight="16dp"
|
|
|
|
android:elevation="4dp">
|
2015-06-01 19:39:33 +00:00
|
|
|
|
|
|
|
<ImageView
|
2015-06-02 05:55:00 +00:00
|
|
|
android:id="@+id/drawer_header_account"
|
|
|
|
android:background="@drawable/ripple"
|
2015-06-01 19:39:33 +00:00
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
2015-06-01 20:25:46 +00:00
|
|
|
android:tint="?colorAccent"
|
2015-06-01 19:39:33 +00:00
|
|
|
android:src="@drawable/ic_account"
|
|
|
|
android:layout_gravity="center" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
2015-02-11 12:54:04 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="56dp"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
2015-06-01 19:39:33 +00:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:id="@+id/linearLayout">
|
2015-02-11 12:54:04 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/drawer_header_login"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="16dp"
|
2015-02-12 11:28:03 +00:00
|
|
|
android:textColor="@android:color/primary_text_dark"
|
2015-02-11 12:54:04 +00:00
|
|
|
android:text="test"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/drawer_header_server"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-02-12 11:28:03 +00:00
|
|
|
android:textColor="@android:color/primary_text_dark"
|
2015-02-11 12:54:04 +00:00
|
|
|
android:layout_marginLeft="16dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:text="example.org"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="normal"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|