Proyectos de Subversion Android Microlearning - Inconcert

Rev

Rev 3 | Ir a la última revisión | | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
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"
14
        android:background="@drawable/side_nav_bar"
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"
49
            android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
50
 
51
        <TextView
52
            android:id="@+id/fragment_userprofile_header_header_user_email"
53
            style="@style/textview_title2"
54
            android:layout_width="wrap_content"
55
            android:layout_height="wrap_content"
56
            android:text="@string/nav_header_subtitle" />
57
    </LinearLayout>
58
 
59
 
60
    <ScrollView
61
        android:id="@+id/scrollView2"
62
        android:layout_width="match_parent"
63
        android:layout_height="0dp"
64
        android:layout_marginTop="10dp"
65
        android:background="@color/windowBackgroud"
66
        android:fillViewport="true"
67
        android:fitsSystemWindows="true"
68
        app:layout_constraintBottom_toTopOf="@+id/button2"
69
        app:layout_constraintLeft_toLeftOf="parent"
70
        app:layout_constraintRight_toRightOf="parent"
71
        app:layout_constraintTop_toBottomOf="@+id/fragment_userprofile_header">
72
 
73
 
74
        <androidx.recyclerview.widget.RecyclerView
75
            android:id="@+id/fragment_userprofile_listview"
76
            android:layout_width="match_parent"
77
            android:layout_height="match_parent"
78
            android:background="@color/colorNudeNew" />
79
 
80
    </ScrollView>
81
 
82
    <Button
83
        android:id="@+id/button2"
84
        android:layout_width="wrap_content"
85
        android:layout_height="wrap_content"
86
        android:background="@drawable/edit_rounded_style"
87
        android:paddingLeft="10dp"
88
        android:paddingRight="10dp"
89
        android:text="Cerrar Sesión"
90
        android:textAlignment="center"
91
        android:textAllCaps="false"
92
        android:textColor="@color/colorPrimary"
93
        android:textSize="16sp"
94
        app:layout_constraintBottom_toBottomOf="parent"
95
        app:layout_constraintEnd_toEndOf="parent"
96
        app:layout_constraintHorizontal_bias="0.498"
97
        app:layout_constraintStart_toStartOf="parent" />
98
 
99
 
100
</androidx.constraintlayout.widget.ConstraintLayout>