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
 
47
    <androidx.recyclerview.widget.RecyclerView
48
        android:id="@+id/capsulescontinuos"
49
        android:layout_width="0dp"
50
        android:layout_height="wrap_content"
51
        app:layout_constraintEnd_toEndOf="parent"
52
        app:layout_constraintHorizontal_bias="0.0"
53
        app:layout_constraintStart_toStartOf="parent"
8 gabriel 54
        app:layout_constraintTop_toBottomOf="@+id/textView15">
2 gabriel 55
 
56
    </androidx.recyclerview.widget.RecyclerView>
57
 
4 gabriel 58
    <com.google.android.material.tabs.TabLayout
59
        android:id="@+id/tabLayout"
60
        android:layout_width="0dp"
61
        android:layout_height="wrap_content"
2 gabriel 62
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 63
        app:layout_constraintHorizontal_bias="1.0"
2 gabriel 64
        app:layout_constraintStart_toStartOf="parent"
4 gabriel 65
        app:layout_constraintTop_toBottomOf="@+id/capsulescontinuos"
8 gabriel 66
        app:tabIndicatorColor="@color/buttonIntroBackground">
2 gabriel 67
 
4 gabriel 68
        <com.google.android.material.tabs.TabItem
8 gabriel 69
            android:id="@+id/tabItem"
4 gabriel 70
            android:layout_width="wrap_content"
71
            android:layout_height="wrap_content"
72
            android:text="Pendientes" />
73
 
74
        <com.google.android.material.tabs.TabItem
75
            android:layout_width="wrap_content"
76
            android:layout_height="wrap_content"
77
            android:text="En Curso" />
78
 
79
        <com.google.android.material.tabs.TabItem
80
            android:layout_width="wrap_content"
81
            android:layout_height="wrap_content"
82
            android:text="Finalizados" />
83
    </com.google.android.material.tabs.TabLayout>
84
 
8 gabriel 85
    <LinearLayout
86
        android:id="@+id/linearLayout"
2 gabriel 87
        android:layout_width="0dp"
8 gabriel 88
        android:layout_height="wrap_content"
89
        android:background="@color/colorNudeNew"
90
        android:gravity="center"
91
        android:orientation="horizontal"
2 gabriel 92
        app:layout_constraintEnd_toEndOf="parent"
93
        app:layout_constraintStart_toStartOf="parent"
8 gabriel 94
        app:layout_constraintTop_toBottomOf="@+id/tabLayout">
2 gabriel 95
 
8 gabriel 96
        <EditText
97
            android:id="@+id/busqueda"
98
            android:layout_width="match_parent"
99
            android:layout_height="35dp"
100
            android:layout_margin="15dp"
101
            android:background="@drawable/edit_rounded_search"
102
            android:drawableEnd="@drawable/search"
103
            android:ems="10"
104
            android:hint="Buscar..."
105
            android:inputType="textPersonName"
106
            android:paddingStart="10dp"
107
            android:paddingEnd="10dp"
108
            android:textColor="@color/colorTextColor"
109
            android:textSize="14sp"
110
            tools:visibility="visible" />
111
 
112
    </LinearLayout>
113
 
114
    <androidx.recyclerview.widget.RecyclerView
115
        android:id="@+id/categorizados"
2 gabriel 116
        android:layout_width="0dp"
8 gabriel 117
        android:layout_height="0dp"
2 gabriel 118
        app:layout_constraintBottom_toBottomOf="parent"
119
        app:layout_constraintEnd_toEndOf="parent"
8 gabriel 120
        app:layout_constraintHorizontal_bias="0.0"
2 gabriel 121
        app:layout_constraintStart_toStartOf="parent"
8 gabriel 122
        app:layout_constraintTop_toBottomOf="@+id/linearLayout"
123
        tools:visibility="visible" />
2 gabriel 124
 
125
</androidx.constraintlayout.widget.ConstraintLayout>