2018-07-26 17:04:44 +02:00
|
|
|
<?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="@dimen/nav_header_height"
|
|
|
|
android:background="@drawable/side_nav_bar"
|
|
|
|
android:gravity="bottom"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:theme="@style/ThemeOverlay.AppCompat.Dark">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/banner_image_view_nav_header_main"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop"/>
|
|
|
|
|
2019-02-26 14:56:51 +01:00
|
|
|
<pl.droidsonroids.gif.GifImageView
|
2018-07-26 17:04:44 +02:00
|
|
|
android:id="@+id/profile_image_view_nav_header_main"
|
|
|
|
android:layout_width="64dp"
|
|
|
|
android:layout_height="64dp"
|
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/name_text_view_nav_header_main"
|
2018-10-01 08:07:32 +02:00
|
|
|
android:layout_width="wrap_content"
|
2018-07-26 17:04:44 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/nav_header_vertical_spacing"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
2019-08-08 14:05:45 +02:00
|
|
|
android:layout_alignParentStart="true"
|
2018-07-26 17:04:44 +02:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:textSize="?attr/font_default"
|
2020-06-10 06:22:19 +02:00
|
|
|
android:fontFamily="?attr/font_family"
|
2019-08-08 14:05:45 +02:00
|
|
|
android:layout_below="@id/profile_image_view_nav_header_main"
|
|
|
|
android:layout_toStartOf="@id/account_switcher_image_view_nav_header_main" />
|
2018-07-26 17:04:44 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/karma_text_view_nav_header_main"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
2019-08-08 14:05:45 +02:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_below="@id/name_text_view_nav_header_main"
|
2019-09-20 15:27:00 +02:00
|
|
|
android:layout_toStartOf="@id/account_switcher_image_view_nav_header_main"
|
2020-06-10 06:22:19 +02:00
|
|
|
android:textSize="?attr/font_default"
|
|
|
|
android:fontFamily="?attr/font_family" />
|
2019-08-08 14:05:45 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/account_switcher_image_view_nav_header_main"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:src="@drawable/ic_baseline_arrow_drop_down_24px" />
|
2018-07-26 17:04:44 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|