116 lines
4.5 KiB
XML
116 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/navHeaderFrame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/userAvatarBackground"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:contentDescription="@string/generalImgContentText"
|
|
android:scaleType="centerCrop" />
|
|
|
|
<eightbitlab.com.blurview.BlurView
|
|
android:id="@+id/blurView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:blurOverlayColor="@color/blurColor">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="bottom"
|
|
android:paddingTop="16dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/userAvatar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxHeight="24dp"
|
|
android:maxWidth="24dp"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="5dp"
|
|
android:contentDescription="@string/generalImgContentText"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:paddingEnd="25dp"
|
|
android:paddingStart="15dp"
|
|
android:paddingTop="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/navRecyclerViewUserAccounts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
app:reverseLayout="true"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="5dp"
|
|
android:baselineAligned="false">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight=".82"
|
|
android:orientation="vertical"
|
|
android:layout_marginTop="5dp">
|
|
|
|
<TextView
|
|
android:id="@+id/userFullname"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:textSize="18sp"
|
|
android:textIsSelectable="true"
|
|
android:textColor="@color/colorWhite"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="5dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/userEmail"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:textIsSelectable="true"
|
|
android:textColor="@color/colorWhite"
|
|
android:gravity="start"
|
|
android:layout_gravity="center_vertical"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="5dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginTop="16dp"
|
|
android:background="?attr/dividerColor" />
|
|
|
|
</LinearLayout>
|
|
|
|
</eightbitlab.com.blurview.BlurView>
|
|
|
|
</RelativeLayout>
|