Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 1 | Ir a la última revisión | | Comparar con el anterior | 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"
8 gabriel 7
    android:background="@color/colorNudeNew"
1 gabriel 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"
8 gabriel 22
        app:layout_constraintEnd_toEndOf="parent"
1 gabriel 23
        app:layout_constraintStart_toStartOf="parent"
8 gabriel 24
        app:layout_constraintTop_toTopOf="parent">
1 gabriel 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"
8 gabriel 36
                android:background="@drawable/user_image_circular"
37
                android:scaleType="centerCrop" />x
1 gabriel 38
 
39
 
40
        </androidx.cardview.widget.CardView>
41
 
42
        <TextView
8 gabriel 43
            android:id="@+id/fragment_userprofile_header_user_name"
1 gabriel 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
8 gabriel 52
            android:id="@+id/fragment_userprofile_header_header_user_email"
1 gabriel 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
8 gabriel 61
        android:id="@+id/scrollView2"
1 gabriel 62
        android:layout_width="match_parent"
63
        android:layout_height="0dp"
8 gabriel 64
        android:layout_marginTop="10dp"
1 gabriel 65
        android:background="@color/windowBackgroud"
66
        android:fillViewport="true"
67
        android:fitsSystemWindows="true"
8 gabriel 68
        app:layout_constraintBottom_toTopOf="@+id/button2"
1 gabriel 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"
8 gabriel 78
            android:background="@color/colorNudeNew" />
1 gabriel 79
 
80
    </ScrollView>
81
 
8 gabriel 82
    <Button
83
        android:id="@+id/button2"
84
        android:layout_width="wrap_content"
85
        android:layout_height="wrap_content"
86
        android:text="Cerrar sesión"
87
        app:layout_constraintBottom_toBottomOf="parent"
88
        app:layout_constraintEnd_toEndOf="parent"
89
        app:layout_constraintHorizontal_bias="0.498"
90
        app:layout_constraintStart_toStartOf="parent" />
1 gabriel 91
 
92
 
93
</androidx.constraintlayout.widget.ConstraintLayout>