1 |
efrain |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
3 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
4 |
xmlns:tools="http://schemas.android.com/tools"
|
|
|
5 |
android:layout_width="match_parent"
|
|
|
6 |
android:layout_height="@dimen/nav_header_height"
|
|
|
7 |
android:background="@color/backgroundTopicFooter"
|
|
|
8 |
android:gravity="bottom"
|
|
|
9 |
android:orientation="vertical"
|
|
|
10 |
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
11 |
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
12 |
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
13 |
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
14 |
android:theme="@style/ThemeOverlay.AppCompat.Dark">
|
|
|
15 |
|
|
|
16 |
<!--
|
|
|
17 |
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
18 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
19 |
android:id="@+id/nav_header_user_image"
|
|
|
20 |
android:layout_width="96dp"
|
|
|
21 |
android:layout_height="96dp"
|
|
|
22 |
app:civ_border_width="1dp"
|
|
|
23 |
app:civ_border_color="#5C5C5C"
|
|
|
24 |
app:srcCompat="@mipmap/ic_launcher_round" />
|
|
|
25 |
-->
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
<androidx.cardview.widget.CardView
|
|
|
29 |
android:layout_width="80dp"
|
|
|
30 |
android:layout_height="80dp"
|
|
|
31 |
app:cardCornerRadius="50dp">
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
<ImageView
|
|
|
36 |
android:id="@+id/nav_header_user_image"
|
|
|
37 |
android:layout_width="80dp"
|
|
|
38 |
android:layout_height="80dp"
|
|
|
39 |
android:scaleType="centerCrop"
|
|
|
40 |
android:background="@drawable/user_image_circular" />x
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
</androidx.cardview.widget.CardView>
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
<TextView
|
|
|
50 |
style="@style/textview_title1"
|
|
|
51 |
android:id="@+id/nav_header_user_name"
|
|
|
52 |
android:layout_width="match_parent"
|
|
|
53 |
android:layout_height="wrap_content"
|
|
|
54 |
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
|
|
55 |
android:text="@string/nav_header_title"
|
|
|
56 |
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
|
|
|
57 |
|
|
|
58 |
<TextView
|
|
|
59 |
style="@style/textview_title2"
|
|
|
60 |
android:id="@+id/nav_header_user_email"
|
|
|
61 |
android:layout_width="wrap_content"
|
|
|
62 |
android:layout_height="wrap_content"
|
|
|
63 |
android:text="@string/nav_header_subtitle" />
|
|
|
64 |
</LinearLayout>
|