2019-06-03 23:25:05 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-04-13 16:19:42 +02:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-06-06 22:04:07 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-03-21 16:56:54 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:id="@+id/navHeaderFrame"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_height="200dp">
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
<ImageView
|
2020-06-06 22:04:07 +02:00
|
|
|
android:id="@+id/userAvatarBackground"
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
2021-03-21 16:56:54 +01:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
2020-06-06 22:04:07 +02:00
|
|
|
|
2021-03-21 16:56:54 +01:00
|
|
|
<LinearLayout
|
2019-06-03 23:25:05 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_height="match_parent"
|
2021-03-21 16:56:54 +01:00
|
|
|
android:gravity="bottom"
|
|
|
|
android:orientation="vertical"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:padding="20dp">
|
2020-06-06 22:04:07 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2021-03-21 16:56:54 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userAvatar"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
|
|
|
tools:srcCompat="@tools:sample/avatars" />
|
|
|
|
|
2021-04-13 16:19:42 +02:00
|
|
|
<FrameLayout
|
2020-06-06 22:04:07 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-03-21 16:56:54 +01:00
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginTop="10dp"
|
2021-04-13 16:19:42 +02:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/userAccountsFrame"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:cardBackgroundColor="?attr/primaryBackgroundColor"
|
|
|
|
app:cardCornerRadius="20dp"
|
|
|
|
app:cardElevation="0dp"
|
2021-05-01 00:01:22 +02:00
|
|
|
app:contentPaddingLeft="8dp"
|
|
|
|
app:contentPaddingRight="8dp"
|
2021-04-13 16:19:42 +02:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/userAccounts"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</FrameLayout>
|
2020-07-07 16:20:43 +02:00
|
|
|
|
2021-03-21 16:56:54 +01:00
|
|
|
</LinearLayout>
|
2020-06-06 22:04:07 +02:00
|
|
|
|
2021-03-21 16:56:54 +01:00
|
|
|
<LinearLayout
|
2021-04-13 16:19:42 +02:00
|
|
|
android:layout_width="match_parent"
|
2021-03-21 16:56:54 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userFullname"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="18sp"
|
|
|
|
tools:text="Test user" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userEmail"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="start"
|
|
|
|
android:textColor="@color/colorWhite"
|
|
|
|
android:textIsSelectable="true"
|
|
|
|
android:textSize="14sp"
|
|
|
|
tools:text="example@example.com" />
|
2020-06-06 22:04:07 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2021-03-21 16:56:54 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2021-04-13 16:19:42 +02:00
|
|
|
</FrameLayout>
|