1 |
gabriel |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
|
|
|
7 |
android:background="@color/colorNudeNew"
|
|
|
8 |
tools:context=".fragment.TimelineFragment">
|
|
|
9 |
|
|
|
10 |
<LinearLayout
|
|
|
11 |
android:id="@+id/fragment_userprofile_header"
|
|
|
12 |
android:layout_width="match_parent"
|
|
|
13 |
android:layout_height="@dimen/nav_header_height"
|
3 |
gabriel |
14 |
android:background="@color/colorPrimary"
|
1 |
gabriel |
15 |
android:gravity="bottom"
|
|
|
16 |
android:orientation="vertical"
|
|
|
17 |
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
18 |
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
19 |
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
20 |
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
21 |
android:theme="@style/ThemeOverlay.AppCompat.Dark"
|
|
|
22 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
23 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
24 |
app:layout_constraintTop_toTopOf="parent">
|
|
|
25 |
|
|
|
26 |
<androidx.cardview.widget.CardView
|
|
|
27 |
android:layout_width="80dp"
|
|
|
28 |
android:layout_height="80dp"
|
|
|
29 |
app:cardCornerRadius="50dp">
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
<ImageView
|
|
|
33 |
android:id="@+id/fragment_userprofile_header_user_image"
|
|
|
34 |
android:layout_width="80dp"
|
|
|
35 |
android:layout_height="80dp"
|
|
|
36 |
android:background="@drawable/user_image_circular"
|
|
|
37 |
android:scaleType="centerCrop" />x
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
</androidx.cardview.widget.CardView>
|
|
|
41 |
|
|
|
42 |
<TextView
|
|
|
43 |
android:id="@+id/fragment_userprofile_header_user_name"
|
|
|
44 |
style="@style/textview_title1"
|
|
|
45 |
android:layout_width="match_parent"
|
|
|
46 |
android:layout_height="wrap_content"
|
|
|
47 |
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
|
|
48 |
android:text="@string/nav_header_title"
|
3 |
gabriel |
49 |
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
|
|
50 |
android:textColor="@color/backgroundTopicProgressBar" />
|
1 |
gabriel |
51 |
|
|
|
52 |
<TextView
|
|
|
53 |
android:id="@+id/fragment_userprofile_header_header_user_email"
|
|
|
54 |
style="@style/textview_title2"
|
|
|
55 |
android:layout_width="wrap_content"
|
|
|
56 |
android:layout_height="wrap_content"
|
3 |
gabriel |
57 |
android:text="@string/nav_header_subtitle"
|
|
|
58 |
android:textColor="@color/backgroundTopicProgressBar" />
|
1 |
gabriel |
59 |
</LinearLayout>
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
<ScrollView
|
|
|
63 |
android:id="@+id/scrollView2"
|
|
|
64 |
android:layout_width="match_parent"
|
|
|
65 |
android:layout_height="0dp"
|
|
|
66 |
android:layout_marginTop="10dp"
|
|
|
67 |
android:background="@color/windowBackgroud"
|
|
|
68 |
android:fillViewport="true"
|
|
|
69 |
android:fitsSystemWindows="true"
|
|
|
70 |
app:layout_constraintBottom_toTopOf="@+id/button2"
|
|
|
71 |
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
72 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
73 |
app:layout_constraintTop_toBottomOf="@+id/fragment_userprofile_header">
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
<androidx.recyclerview.widget.RecyclerView
|
|
|
77 |
android:id="@+id/fragment_userprofile_listview"
|
|
|
78 |
android:layout_width="match_parent"
|
|
|
79 |
android:layout_height="match_parent"
|
3 |
gabriel |
80 |
android:background="@color/windowBackgroud" />
|
1 |
gabriel |
81 |
|
|
|
82 |
</ScrollView>
|
|
|
83 |
|
|
|
84 |
<Button
|
|
|
85 |
android:id="@+id/button2"
|
|
|
86 |
android:layout_width="wrap_content"
|
|
|
87 |
android:layout_height="wrap_content"
|
|
|
88 |
android:background="@drawable/edit_rounded_style"
|
|
|
89 |
android:paddingLeft="10dp"
|
|
|
90 |
android:paddingRight="10dp"
|
|
|
91 |
android:text="Cerrar Sesión"
|
|
|
92 |
android:textAlignment="center"
|
|
|
93 |
android:textAllCaps="false"
|
|
|
94 |
android:textColor="@color/colorPrimary"
|
|
|
95 |
android:textSize="16sp"
|
|
|
96 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
97 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
98 |
app:layout_constraintHorizontal_bias="0.498"
|
|
|
99 |
app:layout_constraintStart_toStartOf="parent" />
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
</androidx.constraintlayout.widget.ConstraintLayout>
|