Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 4 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4 Rev 8
Línea 1... Línea 1...
1
<?xml version="1.0" encoding="utf-8"?>
1
<?xml version="1.0" encoding="utf-8"?>
-
 
2
 
-
 
3
 
2
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
4
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:app="http://schemas.android.com/apk/res-auto"
5
    xmlns:app="http://schemas.android.com/apk/res-auto"
4
    xmlns:tools="http://schemas.android.com/tools"
6
    xmlns:tools="http://schemas.android.com/tools"
5
    android:id="@+id/frameLayout"
7
    android:id="@+id/frameLayout"
6
    android:layout_width="match_parent"
8
    android:layout_width="match_parent"
7
    android:layout_height="match_parent"
9
    android:layout_height="match_parent"
8
    android:background="@color/white"
10
    android:background="@color/white"
-
 
11
    android:animateLayoutChanges="true"
9
    tools:context=".fragment.WelcomeFragment">
12
    tools:context=".fragment.WelcomeFragment">
Línea 10... Línea -...
10
 
-
 
-
 
13
 
Línea 11... Línea 14...
11
    <!-- TODO: Update blank fragment layout -->
14
 
12
 
15
 
13
    <TextView
16
    <TextView
14
        android:id="@+id/textView14"
17
        android:id="@+id/textView14"
Línea 23... Línea 26...
23
        app:layout_constraintBottom_toBottomOf="parent"
26
        app:layout_constraintBottom_toBottomOf="parent"
24
        app:layout_constraintEnd_toEndOf="parent"
27
        app:layout_constraintEnd_toEndOf="parent"
25
        app:layout_constraintHorizontal_bias="0.072"
28
        app:layout_constraintHorizontal_bias="0.072"
26
        app:layout_constraintStart_toStartOf="parent"
29
        app:layout_constraintStart_toStartOf="parent"
27
        app:layout_constraintTop_toTopOf="parent"
30
        app:layout_constraintTop_toTopOf="parent"
28
        app:layout_constraintVertical_bias="0.039" />
31
        app:layout_constraintVertical_bias="0.004" />
Línea 29... Línea 32...
29
 
32
 
30
    <TextView
33
    <TextView
31
        android:id="@+id/textView15"
34
        android:id="@+id/textView15"
32
        android:layout_width="wrap_content"
35
        android:layout_width="wrap_content"
33
        android:layout_height="wrap_content"
36
        android:layout_height="wrap_content"
34
        android:layout_marginTop="20dp"
37
        android:layout_marginTop="12dp"
35
        android:fontFamily="@font/roboto"
38
        android:fontFamily="@font/roboto"
36
        android:text="¿Qué te gustaría ver hoy?"
39
        android:text="¿Qué te gustaría ver hoy?"
37
        android:textColor="@color/black"
40
        android:textColor="@color/black"
38
        android:textSize="20sp"
41
        android:textSize="20sp"
Línea 43... Línea 46...
43
 
46
 
44
    <androidx.recyclerview.widget.RecyclerView
47
    <androidx.recyclerview.widget.RecyclerView
45
        android:id="@+id/capsulescontinuos"
48
        android:id="@+id/capsulescontinuos"
46
        android:layout_width="0dp"
49
        android:layout_width="0dp"
47
        android:layout_height="wrap_content"
-
 
48
        app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
50
        android:layout_height="wrap_content"
49
        app:layout_constraintEnd_toEndOf="parent"
51
        app:layout_constraintEnd_toEndOf="parent"
50
        app:layout_constraintHorizontal_bias="0.0"
52
        app:layout_constraintHorizontal_bias="0.0"
51
        app:layout_constraintStart_toStartOf="parent"
53
        app:layout_constraintStart_toStartOf="parent"
52
        app:layout_constraintTop_toBottomOf="@+id/textView15"
-
 
Línea 53... Línea 54...
53
        app:layout_constraintVertical_bias="0.029">
54
        app:layout_constraintTop_toBottomOf="@+id/textView15">
Línea 54... Línea 55...
54
 
55
 
55
    </androidx.recyclerview.widget.RecyclerView>
56
    </androidx.recyclerview.widget.RecyclerView>
56
 
57
 
57
    <com.google.android.material.tabs.TabLayout
58
    <com.google.android.material.tabs.TabLayout
58
        android:id="@+id/tabLayout"
-
 
59
        android:layout_width="0dp"
59
        android:id="@+id/tabLayout"
60
        android:layout_height="wrap_content"
60
        android:layout_width="0dp"
61
        app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
61
        android:layout_height="wrap_content"
62
        app:layout_constraintEnd_toEndOf="parent"
62
        app:layout_constraintEnd_toEndOf="parent"
63
        app:layout_constraintHorizontal_bias="1.0"
63
        app:layout_constraintHorizontal_bias="1.0"
Línea 64... Línea 64...
64
        app:layout_constraintStart_toStartOf="parent"
64
        app:layout_constraintStart_toStartOf="parent"
-
 
65
        app:layout_constraintTop_toBottomOf="@+id/capsulescontinuos"
65
        app:layout_constraintTop_toBottomOf="@+id/capsulescontinuos"
66
        app:tabIndicatorColor="@color/buttonIntroBackground">
66
        app:layout_constraintVertical_bias="0.0">
67
 
67
 
68
        <com.google.android.material.tabs.TabItem
Línea 68... Línea 69...
68
        <com.google.android.material.tabs.TabItem
69
            android:id="@+id/tabItem"
Línea 79... Línea 80...
79
            android:layout_width="wrap_content"
80
            android:layout_width="wrap_content"
80
            android:layout_height="wrap_content"
81
            android:layout_height="wrap_content"
81
            android:text="Finalizados" />
82
            android:text="Finalizados" />
82
    </com.google.android.material.tabs.TabLayout>
83
    </com.google.android.material.tabs.TabLayout>
Línea -... Línea 84...
-
 
84
 
-
 
85
    <LinearLayout
-
 
86
        android:id="@+id/linearLayout"
-
 
87
        android:layout_width="0dp"
-
 
88
        android:layout_height="wrap_content"
-
 
89
        android:background="@color/colorNudeNew"
-
 
90
        android:gravity="center"
-
 
91
        android:orientation="horizontal"
-
 
92
        app:layout_constraintEnd_toEndOf="parent"
-
 
93
        app:layout_constraintStart_toStartOf="parent"
-
 
94
        app:layout_constraintTop_toBottomOf="@+id/tabLayout">
-
 
95
 
-
 
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>
83
 
113
 
84
    <androidx.recyclerview.widget.RecyclerView
114
    <androidx.recyclerview.widget.RecyclerView
85
        android:id="@+id/categorizados"
115
        android:id="@+id/categorizados"
86
        android:layout_width="0dp"
116
        android:layout_width="0dp"
87
        android:layout_height="0dp"
-
 
88
        app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
-
 
89
        app:layout_constraintEnd_toEndOf="parent"
-
 
90
        app:layout_constraintStart_toStartOf="parent"
-
 
91
        app:layout_constraintTop_toBottomOf="@+id/tabLayout" />
-
 
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"
-
 
98
        app:itemTextColor="@color/colorNavIcon"
-
 
99
        app:labelVisibilityMode="auto"
117
        android:layout_height="0dp"
100
        app:layout_constraintBottom_toBottomOf="parent"
118
        app:layout_constraintBottom_toBottomOf="parent"
-
 
119
        app:layout_constraintEnd_toEndOf="parent"
101
        app:layout_constraintEnd_toEndOf="parent"
120
        app:layout_constraintHorizontal_bias="0.0"
-
 
121
        app:layout_constraintStart_toStartOf="parent"
102
        app:layout_constraintStart_toStartOf="parent"
122
        app:layout_constraintTop_toBottomOf="@+id/linearLayout"
Línea 103... Línea 123...
103
        app:menu="@menu/navigation_items" />
123
        tools:visibility="visible" />
104
 
124