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