Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
2 gabriel 1
<?xml version="1.0" encoding="utf-8"?>
8 gabriel 2
 
3
 
2 gabriel 4
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
5
    xmlns:app="http://schemas.android.com/apk/res-auto"
6
    xmlns:tools="http://schemas.android.com/tools"
7
    android:id="@+id/frameLayout"
8
    android:layout_width="match_parent"
9
    android:layout_height="match_parent"
10
    android:background="@color/white"
8 gabriel 11
    android:animateLayoutChanges="true"
2 gabriel 12
    tools:context=".fragment.WelcomeFragment">
13
 
14
 
8 gabriel 15
 
2 gabriel 16
    <TextView
17
        android:id="@+id/textView14"
18
        android:layout_width="wrap_content"
19
        android:layout_height="wrap_content"
4 gabriel 20
        android:fontFamily="@font/roboto"
2 gabriel 21
        android:text="¡Hola, usuario!"
22
        android:textAlignment="textStart"
23
        android:textColor="@color/black"
24
        android:textSize="30sp"
25
        android:textStyle="bold"
26
        app:layout_constraintBottom_toBottomOf="parent"
27
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 28
        app:layout_constraintHorizontal_bias="0.072"
2 gabriel 29
        app:layout_constraintStart_toStartOf="parent"
30
        app:layout_constraintTop_toTopOf="parent"
8 gabriel 31
        app:layout_constraintVertical_bias="0.004" />
2 gabriel 32
 
33
    <TextView
34
        android:id="@+id/textView15"
35
        android:layout_width="wrap_content"
36
        android:layout_height="wrap_content"
8 gabriel 37
        android:layout_marginTop="12dp"
4 gabriel 38
        android:fontFamily="@font/roboto"
2 gabriel 39
        android:text="¿Qué te gustaría ver hoy?"
40
        android:textColor="@color/black"
41
        android:textSize="20sp"
42
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 43
        app:layout_constraintHorizontal_bias="0.085"
2 gabriel 44
        app:layout_constraintStart_toStartOf="parent"
45
        app:layout_constraintTop_toBottomOf="@+id/textView14" />
46
 
9 gabriel 47
    <include
48
        android:id="@+id/include"
49
        layout="@layout/cardview_item"
50
        android:layout_width="0dp"
51
        android:layout_height="wrap_content"
52
        app:layout_constraintEnd_toEndOf="parent"
53
        app:layout_constraintStart_toStartOf="parent"
54
        app:layout_constraintTop_toBottomOf="@+id/textView15" />
55
 
2 gabriel 56
    <androidx.recyclerview.widget.RecyclerView
57
        android:id="@+id/capsulescontinuos"
58
        android:layout_width="0dp"
59
        android:layout_height="wrap_content"
9 gabriel 60
        android:visibility="gone"
2 gabriel 61
        app:layout_constraintEnd_toEndOf="parent"
62
        app:layout_constraintHorizontal_bias="0.0"
63
        app:layout_constraintStart_toStartOf="parent"
9 gabriel 64
        app:layout_constraintTop_toBottomOf="@+id/textView15"
65
        tools:visibility="gone">
2 gabriel 66
 
67
    </androidx.recyclerview.widget.RecyclerView>
68
 
4 gabriel 69
    <com.google.android.material.tabs.TabLayout
70
        android:id="@+id/tabLayout"
71
        android:layout_width="0dp"
72
        android:layout_height="wrap_content"
2 gabriel 73
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 74
        app:layout_constraintHorizontal_bias="1.0"
2 gabriel 75
        app:layout_constraintStart_toStartOf="parent"
9 gabriel 76
        app:layout_constraintTop_toBottomOf="@+id/include"
8 gabriel 77
        app:tabIndicatorColor="@color/buttonIntroBackground">
2 gabriel 78
 
4 gabriel 79
        <com.google.android.material.tabs.TabItem
8 gabriel 80
            android:id="@+id/tabItem"
4 gabriel 81
            android:layout_width="wrap_content"
82
            android:layout_height="wrap_content"
83
            android:text="Pendientes" />
84
 
85
        <com.google.android.material.tabs.TabItem
86
            android:layout_width="wrap_content"
87
            android:layout_height="wrap_content"
88
            android:text="En Curso" />
89
 
90
        <com.google.android.material.tabs.TabItem
91
            android:layout_width="wrap_content"
92
            android:layout_height="wrap_content"
93
            android:text="Finalizados" />
94
    </com.google.android.material.tabs.TabLayout>
95
 
8 gabriel 96
    <LinearLayout
97
        android:id="@+id/linearLayout"
2 gabriel 98
        android:layout_width="0dp"
8 gabriel 99
        android:layout_height="wrap_content"
100
        android:background="@color/colorNudeNew"
101
        android:gravity="center"
102
        android:orientation="horizontal"
34 gabriel 103
        android:focusable="true"
104
        android:focusableInTouchMode="true"
2 gabriel 105
        app:layout_constraintEnd_toEndOf="parent"
106
        app:layout_constraintStart_toStartOf="parent"
8 gabriel 107
        app:layout_constraintTop_toBottomOf="@+id/tabLayout">
2 gabriel 108
 
8 gabriel 109
        <EditText
110
            android:id="@+id/busqueda"
111
            android:layout_width="match_parent"
112
            android:layout_height="35dp"
113
            android:layout_margin="15dp"
114
            android:background="@drawable/edit_rounded_search"
115
            android:drawableEnd="@drawable/search"
116
            android:ems="10"
117
            android:hint="Buscar..."
118
            android:inputType="textPersonName"
119
            android:paddingStart="10dp"
120
            android:paddingEnd="10dp"
121
            android:textColor="@color/colorTextColor"
122
            android:textSize="14sp"
123
            tools:visibility="visible" />
124
 
125
    </LinearLayout>
126
 
127
    <androidx.recyclerview.widget.RecyclerView
128
        android:id="@+id/categorizados"
2 gabriel 129
        android:layout_width="0dp"
8 gabriel 130
        android:layout_height="0dp"
2 gabriel 131
        app:layout_constraintBottom_toBottomOf="parent"
132
        app:layout_constraintEnd_toEndOf="parent"
8 gabriel 133
        app:layout_constraintHorizontal_bias="0.0"
2 gabriel 134
        app:layout_constraintStart_toStartOf="parent"
8 gabriel 135
        app:layout_constraintTop_toBottomOf="@+id/linearLayout"
9 gabriel 136
        app:layout_constraintVertical_bias="0.0"
8 gabriel 137
        tools:visibility="visible" />
2 gabriel 138
 
139
</androidx.constraintlayout.widget.ConstraintLayout>