| Línea 7... |
Línea 7... |
| 7 |
android:id="@+id/frameLayout"
|
7 |
android:id="@+id/frameLayout"
|
| 8 |
android:layout_width="match_parent"
|
8 |
android:layout_width="match_parent"
|
| 9 |
android:layout_height="match_parent"
|
9 |
android:layout_height="match_parent"
|
| 10 |
android:background="@color/white"
|
10 |
android:background="@color/white"
|
| 11 |
android:animateLayoutChanges="true"
|
11 |
android:animateLayoutChanges="true"
|
| 12 |
tools:context=".fragment.WelcomeFragment">
|
12 |
tools:context=".fragment.MyCapsulesFragment">
|
| Línea 13... |
Línea 13... |
| 13 |
|
13 |
|
| 14 |
|
14 |
|
| 15 |
|
15 |
|
| 16 |
<TextView
|
16 |
<TextView
|
| 17 |
android:id="@+id/textView14"
|
17 |
android:id="@+id/fragment_my_capsules_textview_hello_username"
|
| 18 |
android:layout_width="wrap_content"
|
18 |
android:layout_width="wrap_content"
|
| 19 |
android:layout_height="wrap_content"
|
19 |
android:layout_height="wrap_content"
|
| 20 |
android:fontFamily="@font/roboto"
|
20 |
android:fontFamily="@font/roboto"
|
| 21 |
android:text="¡Hola, Jhon Doe!"
|
21 |
android:text="@string/my_capsules_hello_username"
|
| 22 |
android:textAlignment="textStart"
|
22 |
android:textAlignment="textStart"
|
| 23 |
android:textColor="@color/black"
|
23 |
android:textColor="@color/black"
|
| Línea 29... |
Línea 29... |
| 29 |
app:layout_constraintStart_toStartOf="parent"
|
29 |
app:layout_constraintStart_toStartOf="parent"
|
| 30 |
app:layout_constraintTop_toTopOf="parent"
|
30 |
app:layout_constraintTop_toTopOf="parent"
|
| 31 |
app:layout_constraintVertical_bias="0.004" />
|
31 |
app:layout_constraintVertical_bias="0.004" />
|
| Línea 32... |
Línea 32... |
| 32 |
|
32 |
|
| 33 |
<TextView
|
33 |
<TextView
|
| 34 |
android:id="@+id/textView15"
|
34 |
android:id="@+id/fragment_my_capsules_textview_welcome"
|
| 35 |
android:layout_width="wrap_content"
|
35 |
android:layout_width="wrap_content"
|
| 36 |
android:layout_height="wrap_content"
|
36 |
android:layout_height="wrap_content"
|
| 37 |
android:layout_marginTop="12dp"
|
37 |
android:layout_marginTop="12dp"
|
| 38 |
android:fontFamily="@font/roboto"
|
38 |
android:fontFamily="@font/roboto"
|
| 39 |
android:text="¿Qué te gustaría ver hoy?"
|
39 |
android:text="@string/my_capsules_text_welcome"
|
| 40 |
android:textColor="@color/black"
|
40 |
android:textColor="@color/black"
|
| 41 |
android:textSize="20sp"
|
41 |
android:textSize="20sp"
|
| 42 |
app:layout_constraintEnd_toEndOf="parent"
|
42 |
app:layout_constraintEnd_toEndOf="parent"
|
| 43 |
app:layout_constraintHorizontal_bias="0.085"
|
43 |
app:layout_constraintHorizontal_bias="0.085"
|
| 44 |
app:layout_constraintStart_toStartOf="parent"
|
44 |
app:layout_constraintStart_toStartOf="parent"
|
| Línea 45... |
Línea 45... |
| 45 |
app:layout_constraintTop_toBottomOf="@+id/textView14" />
|
45 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_textview_hello_username" />
|
| 46 |
|
46 |
|
| 47 |
<include
|
47 |
<include
|
| 48 |
android:id="@+id/include"
|
48 |
android:id="@+id/fragment_my_capsules_include_cardview"
|
| 49 |
layout="@layout/cardview_item"
|
49 |
layout="@layout/fragment_my_capsules_cardview"
|
| 50 |
android:layout_width="0dp"
|
50 |
android:layout_width="0dp"
|
| 51 |
android:layout_height="wrap_content"
|
51 |
android:layout_height="wrap_content"
|
| 52 |
app:layout_constraintEnd_toEndOf="parent"
|
52 |
app:layout_constraintEnd_toEndOf="parent"
|
| Línea -... |
Línea 53... |
| - |
|
53 |
app:layout_constraintStart_toStartOf="parent"
|
| 53 |
app:layout_constraintStart_toStartOf="parent"
|
54 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_textview_welcome" />
|
| 54 |
app:layout_constraintTop_toBottomOf="@+id/textView15" />
|
55 |
|
| 55 |
|
56 |
<!--
|
| 56 |
<androidx.recyclerview.widget.RecyclerView
|
57 |
<androidx.recyclerview.widget.RecyclerView
|
| 57 |
android:id="@+id/capsulescontinuos"
|
58 |
android:id="@+id/fragment_my_capsules_listing_capsules"
|
| 58 |
android:layout_width="0dp"
|
59 |
android:layout_width="0dp"
|
| 59 |
android:layout_height="wrap_content"
|
60 |
android:layout_height="wrap_content"
|
| 60 |
android:visibility="gone"
|
61 |
android:visibility="gone"
|
| 61 |
app:layout_constraintEnd_toEndOf="parent"
|
62 |
app:layout_constraintEnd_toEndOf="parent"
|
| 62 |
app:layout_constraintHorizontal_bias="0.0"
|
63 |
app:layout_constraintHorizontal_bias="0.0"
|
| Línea -... |
Línea 64... |
| - |
|
64 |
app:layout_constraintStart_toStartOf="parent"
|
| 63 |
app:layout_constraintStart_toStartOf="parent"
|
65 |
app:layout_constraintTop_toBottomOf="@+id/textView15"
|
| - |
|
66 |
tools:visibility="gone">
|
| Línea 64... |
Línea 67... |
| 64 |
app:layout_constraintTop_toBottomOf="@+id/textView15"
|
67 |
|
| 65 |
tools:visibility="gone">
|
68 |
|
| 66 |
|
69 |
</androidx.recyclerview.widget.RecyclerView>
|
| 67 |
</androidx.recyclerview.widget.RecyclerView>
|
70 |
-->
|
| 68 |
|
71 |
|
| 69 |
<com.google.android.material.tabs.TabLayout
|
72 |
<com.google.android.material.tabs.TabLayout
|
| 70 |
android:id="@+id/tabLayout"
|
73 |
android:id="@+id/fragment_my_capsules_tabLayout"
|
| 71 |
android:layout_width="0dp"
|
74 |
android:layout_width="0dp"
|
| 72 |
android:layout_height="wrap_content"
|
75 |
android:layout_height="wrap_content"
|
| Línea 73... |
Línea 76... |
| 73 |
app:layout_constraintEnd_toEndOf="parent"
|
76 |
app:layout_constraintEnd_toEndOf="parent"
|
| 74 |
app:layout_constraintHorizontal_bias="1.0"
|
77 |
app:layout_constraintHorizontal_bias="1.0"
|
| 75 |
app:layout_constraintStart_toStartOf="parent"
|
78 |
app:layout_constraintStart_toStartOf="parent"
|
| 76 |
app:layout_constraintTop_toBottomOf="@+id/include"
|
79 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_include_cardview"
|
| 77 |
app:tabIndicatorColor="@color/buttonIntroBackground">
|
80 |
app:tabIndicatorColor="@color/buttonIntroBackground">
|
| Línea 78... |
Línea 81... |
| 78 |
|
81 |
|
| 79 |
<com.google.android.material.tabs.TabItem
|
82 |
<com.google.android.material.tabs.TabItem
|
| 80 |
android:id="@+id/tabItem"
|
83 |
android:id="@+id/tabItem"
|
| 81 |
android:layout_width="wrap_content"
|
84 |
android:layout_width="wrap_content"
|
| Línea 82... |
Línea 85... |
| 82 |
android:layout_height="wrap_content"
|
85 |
android:layout_height="wrap_content"
|
| 83 |
android:text="Pendientes" />
|
86 |
android:text="@string/my_capsules_tab_pending" />
|
| 84 |
|
87 |
|
| 85 |
<com.google.android.material.tabs.TabItem
|
88 |
<com.google.android.material.tabs.TabItem
|
| 86 |
android:layout_width="wrap_content"
|
89 |
android:layout_width="wrap_content"
|
| Línea 87... |
Línea 90... |
| 87 |
android:layout_height="wrap_content"
|
90 |
android:layout_height="wrap_content"
|
| 88 |
android:text="En Curso" />
|
91 |
android:text="@string/my_capsules_tab_in_progress" />
|
| 89 |
|
92 |
|
| Línea 102... |
Línea 105... |
| 102 |
android:orientation="horizontal"
|
105 |
android:orientation="horizontal"
|
| 103 |
android:focusable="true"
|
106 |
android:focusable="true"
|
| 104 |
android:focusableInTouchMode="true"
|
107 |
android:focusableInTouchMode="true"
|
| 105 |
app:layout_constraintEnd_toEndOf="parent"
|
108 |
app:layout_constraintEnd_toEndOf="parent"
|
| 106 |
app:layout_constraintStart_toStartOf="parent"
|
109 |
app:layout_constraintStart_toStartOf="parent"
|
| 107 |
app:layout_constraintTop_toBottomOf="@+id/tabLayout">
|
110 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_tabLayout">
|
| Línea 108... |
Línea 111... |
| 108 |
|
111 |
|
| 109 |
<EditText
|
112 |
<EditText
|
| 110 |
android:id="@+id/busqueda"
|
113 |
android:id="@+id/fragment_my_capsules_edit_text_search"
|
| 111 |
android:layout_width="match_parent"
|
114 |
android:layout_width="match_parent"
|
| 112 |
android:layout_height="35dp"
|
115 |
android:layout_height="35dp"
|
| 113 |
android:layout_margin="15dp"
|
116 |
android:layout_margin="15dp"
|
| 114 |
android:background="@drawable/edit_rounded_search"
|
117 |
android:background="@drawable/edit_rounded_search"
|
| 115 |
android:drawableEnd="@drawable/search"
|
118 |
android:drawableEnd="@drawable/search"
|
| 116 |
android:ems="10"
|
119 |
android:ems="10"
|
| 117 |
android:hint="Buscar..."
|
120 |
android:hint="@string/my_capsules_place_holder_search"
|
| 118 |
android:inputType="textPersonName"
|
121 |
android:inputType="textPersonName"
|
| 119 |
android:paddingStart="10dp"
|
122 |
android:paddingStart="10dp"
|
| 120 |
android:paddingEnd="10dp"
|
123 |
android:paddingEnd="10dp"
|
| 121 |
android:textColor="@color/colorTextColor"
|
124 |
android:textColor="@color/colorTextColor"
|
| 122 |
android:textSize="14sp"
|
125 |
android:textSize="14sp"
|
| Línea 123... |
Línea 126... |
| 123 |
tools:visibility="visible" />
|
126 |
tools:visibility="visible" />
|
| Línea 124... |
Línea 127... |
| 124 |
|
127 |
|
| 125 |
</LinearLayout>
|
128 |
</LinearLayout>
|
| 126 |
|
129 |
|
| 127 |
<androidx.recyclerview.widget.RecyclerView
|
130 |
<androidx.recyclerview.widget.RecyclerView
|
| 128 |
android:id="@+id/categorizados"
|
131 |
android:id="@+id/fragment_my_capsules_listing_capsules"
|
| 129 |
android:layout_width="0dp"
|
132 |
android:layout_width="0dp"
|
| 130 |
android:layout_height="0dp"
|
133 |
android:layout_height="0dp"
|
| 131 |
app:layout_constraintBottom_toBottomOf="parent"
|
134 |
app:layout_constraintBottom_toBottomOf="parent"
|
| 132 |
app:layout_constraintEnd_toEndOf="parent"
|
135 |
app:layout_constraintEnd_toEndOf="parent"
|
| 133 |
app:layout_constraintHorizontal_bias="0.0"
|
136 |
app:layout_constraintHorizontal_bias="0.0"
|
| - |
|
137 |
app:layout_constraintStart_toStartOf="parent"
|
| - |
|
138 |
app:layout_constraintTop_toBottomOf="@+id/linearLayout"
|
| 134 |
app:layout_constraintStart_toStartOf="parent"
|
139 |
app:layout_constraintVertical_bias="0.0"
|
| - |
|
140 |
/>
|
| Línea 135... |
Línea 141... |
| 135 |
app:layout_constraintTop_toBottomOf="@+id/linearLayout"
|
141 |
<!--
|
| 136 |
app:layout_constraintVertical_bias="0.0"
|
142 |
tools:visibility="gone"
|
| 137 |
tools:visibility="gone" />
|
143 |
-->
|
| 138 |
|
144 |
|
| 139 |
<TextView
|
145 |
<TextView
|
| 140 |
android:id="@+id/textView25"
|
146 |
android:id="@+id/fragment_my_capsules_textview_listing_empty"
|
| 141 |
android:layout_width="wrap_content"
|
147 |
android:layout_width="wrap_content"
|
| 142 |
android:layout_height="wrap_content"
|
148 |
android:layout_height="wrap_content"
|
| 143 |
android:text="Ningun elemento para mostrar."
|
149 |
android:text="@string/my_capsules_listing_empty"
|
| 144 |
android:textColor="@color/colorTextColor"
|
150 |
android:textColor="@color/colorTextColor"
|
| - |
|
151 |
app:layout_constraintBottom_toBottomOf="parent"
|
| - |
|
152 |
app:layout_constraintEnd_toEndOf="parent"
|
| - |
|
153 |
app:layout_constraintStart_toStartOf="parent"
|
| 145 |
app:layout_constraintBottom_toBottomOf="parent"
|
154 |
app:layout_constraintTop_toBottomOf="@+id/linearLayout"
|
| - |
|
155 |
/>
|
| Línea 146... |
Línea 156... |
| 146 |
app:layout_constraintEnd_toEndOf="parent"
|
156 |
|