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"?>
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:id="@+id/frameLayout"
6
    android:layout_width="match_parent"
7
    android:layout_height="match_parent"
8
    android:background="@color/white"
9
    tools:context=".fragment.WelcomeFragment">
10
 
11
    <!-- TODO: Update blank fragment layout -->
12
 
13
    <TextView
14
        android:id="@+id/textView14"
15
        android:layout_width="wrap_content"
16
        android:layout_height="wrap_content"
4 gabriel 17
        android:fontFamily="@font/roboto"
2 gabriel 18
        android:text="¡Hola, usuario!"
19
        android:textAlignment="textStart"
20
        android:textColor="@color/black"
21
        android:textSize="30sp"
22
        android:textStyle="bold"
23
        app:layout_constraintBottom_toBottomOf="parent"
24
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 25
        app:layout_constraintHorizontal_bias="0.072"
2 gabriel 26
        app:layout_constraintStart_toStartOf="parent"
27
        app:layout_constraintTop_toTopOf="parent"
4 gabriel 28
        app:layout_constraintVertical_bias="0.039" />
2 gabriel 29
 
30
    <TextView
31
        android:id="@+id/textView15"
32
        android:layout_width="wrap_content"
33
        android:layout_height="wrap_content"
34
        android:layout_marginTop="20dp"
4 gabriel 35
        android:fontFamily="@font/roboto"
2 gabriel 36
        android:text="¿Qué te gustaría ver hoy?"
37
        android:textColor="@color/black"
38
        android:textSize="20sp"
39
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 40
        app:layout_constraintHorizontal_bias="0.085"
2 gabriel 41
        app:layout_constraintStart_toStartOf="parent"
42
        app:layout_constraintTop_toBottomOf="@+id/textView14" />
43
 
44
    <androidx.recyclerview.widget.RecyclerView
45
        android:id="@+id/capsulescontinuos"
46
        android:layout_width="0dp"
47
        android:layout_height="wrap_content"
48
        app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
49
        app:layout_constraintEnd_toEndOf="parent"
50
        app:layout_constraintHorizontal_bias="0.0"
51
        app:layout_constraintStart_toStartOf="parent"
52
        app:layout_constraintTop_toBottomOf="@+id/textView15"
4 gabriel 53
        app:layout_constraintVertical_bias="0.029">
2 gabriel 54
 
55
    </androidx.recyclerview.widget.RecyclerView>
56
 
4 gabriel 57
    <com.google.android.material.tabs.TabLayout
58
        android:id="@+id/tabLayout"
59
        android:layout_width="0dp"
60
        android:layout_height="wrap_content"
61
        app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
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"
66
        app:layout_constraintVertical_bias="0.0">
2 gabriel 67
 
4 gabriel 68
        <com.google.android.material.tabs.TabItem
69
            android:layout_width="wrap_content"
70
            android:layout_height="wrap_content"
71
            android:text="Pendientes" />
72
 
73
        <com.google.android.material.tabs.TabItem
74
            android:layout_width="wrap_content"
75
            android:layout_height="wrap_content"
76
            android:text="En Curso" />
77
 
78
        <com.google.android.material.tabs.TabItem
79
            android:layout_width="wrap_content"
80
            android:layout_height="wrap_content"
81
            android:text="Finalizados" />
82
    </com.google.android.material.tabs.TabLayout>
83
 
2 gabriel 84
    <androidx.recyclerview.widget.RecyclerView
4 gabriel 85
        android:id="@+id/categorizados"
2 gabriel 86
        android:layout_width="0dp"
4 gabriel 87
        android:layout_height="0dp"
88
        app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
2 gabriel 89
        app:layout_constraintEnd_toEndOf="parent"
90
        app:layout_constraintStart_toStartOf="parent"
4 gabriel 91
        app:layout_constraintTop_toBottomOf="@+id/tabLayout" />
2 gabriel 92
 
93
    <com.google.android.material.bottomnavigation.BottomNavigationView
94
        android:id="@+id/bottomNavigationView"
95
        android:layout_width="0dp"
96
        android:layout_height="60dp"
97
        android:background="@color/colorTextColor"
4 gabriel 98
        app:itemTextColor="@color/colorNavIcon"
99
        app:labelVisibilityMode="auto"
2 gabriel 100
        app:layout_constraintBottom_toBottomOf="parent"
101
        app:layout_constraintEnd_toEndOf="parent"
102
        app:layout_constraintStart_toStartOf="parent"
103
        app:menu="@menu/navigation_items" />
104
 
105
</androidx.constraintlayout.widget.ConstraintLayout>