18 |
efrain |
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.MyCapsulesFragment">
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
<TextView
|
|
|
17 |
android:id="@+id/fragment_my_capsules_textview_hello_username"
|
|
|
18 |
android:layout_width="wrap_content"
|
|
|
19 |
android:layout_height="wrap_content"
|
|
|
20 |
android:fontFamily="@font/roboto"
|
|
|
21 |
android:text="@string/my_capsules_hello_username"
|
|
|
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"
|
|
|
28 |
app:layout_constraintHorizontal_bias="0.072"
|
|
|
29 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
30 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
31 |
app:layout_constraintVertical_bias="0.004" />
|
|
|
32 |
|
|
|
33 |
<TextView
|
|
|
34 |
android:id="@+id/fragment_my_capsules_textview_welcome"
|
|
|
35 |
android:layout_width="wrap_content"
|
|
|
36 |
android:layout_height="wrap_content"
|
|
|
37 |
android:layout_marginTop="12dp"
|
|
|
38 |
android:fontFamily="@font/roboto"
|
|
|
39 |
android:text="@string/my_capsules_text_welcome"
|
|
|
40 |
android:textColor="@color/black"
|
|
|
41 |
android:textSize="20sp"
|
|
|
42 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
43 |
app:layout_constraintHorizontal_bias="0.085"
|
|
|
44 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
45 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_textview_hello_username" />
|
|
|
46 |
|
|
|
47 |
<include
|
|
|
48 |
android:id="@+id/fragment_my_capsules_include_cardview"
|
|
|
49 |
layout="@layout/fragment_my_capsules_cardview"
|
|
|
50 |
android:layout_width="0dp"
|
|
|
51 |
android:layout_height="wrap_content"
|
|
|
52 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
53 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
54 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_textview_welcome" />
|
|
|
55 |
|
|
|
56 |
<!--
|
|
|
57 |
<androidx.recyclerview.widget.RecyclerView
|
|
|
58 |
android:id="@+id/fragment_my_capsules_listing_capsules"
|
|
|
59 |
android:layout_width="0dp"
|
|
|
60 |
android:layout_height="wrap_content"
|
|
|
61 |
android:visibility="gone"
|
|
|
62 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
63 |
app:layout_constraintHorizontal_bias="0.0"
|
|
|
64 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
65 |
app:layout_constraintTop_toBottomOf="@+id/textView15"
|
|
|
66 |
tools:visibility="gone">
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
</androidx.recyclerview.widget.RecyclerView>
|
|
|
70 |
-->
|
|
|
71 |
|
|
|
72 |
<com.google.android.material.tabs.TabLayout
|
|
|
73 |
android:id="@+id/fragment_my_capsules_tabLayout"
|
|
|
74 |
android:layout_width="0dp"
|
|
|
75 |
android:layout_height="wrap_content"
|
|
|
76 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
77 |
app:layout_constraintHorizontal_bias="1.0"
|
|
|
78 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
79 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_include_cardview"
|
|
|
80 |
app:tabIndicatorColor="@color/buttonIntroBackground">
|
|
|
81 |
|
|
|
82 |
<com.google.android.material.tabs.TabItem
|
|
|
83 |
android:id="@+id/tabItem"
|
|
|
84 |
android:layout_width="wrap_content"
|
|
|
85 |
android:layout_height="wrap_content"
|
|
|
86 |
android:text="@string/my_capsules_tab_pending" />
|
|
|
87 |
|
|
|
88 |
<com.google.android.material.tabs.TabItem
|
|
|
89 |
android:layout_width="wrap_content"
|
|
|
90 |
android:layout_height="wrap_content"
|
|
|
91 |
android:text="@string/my_capsules_tab_in_progress" />
|
|
|
92 |
|
|
|
93 |
<com.google.android.material.tabs.TabItem
|
|
|
94 |
android:layout_width="wrap_content"
|
|
|
95 |
android:layout_height="wrap_content"
|
|
|
96 |
android:text="@string/my_capsules_tab_completed" />
|
|
|
97 |
</com.google.android.material.tabs.TabLayout>
|
|
|
98 |
|
|
|
99 |
<LinearLayout
|
|
|
100 |
android:id="@+id/linearLayout"
|
|
|
101 |
android:layout_width="0dp"
|
|
|
102 |
android:layout_height="wrap_content"
|
|
|
103 |
android:background="@color/colorNudeNew"
|
|
|
104 |
android:gravity="center"
|
|
|
105 |
android:orientation="horizontal"
|
|
|
106 |
android:focusable="true"
|
|
|
107 |
android:focusableInTouchMode="true"
|
|
|
108 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
109 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
110 |
app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_tabLayout">
|
|
|
111 |
|
|
|
112 |
<EditText
|
|
|
113 |
android:id="@+id/fragment_my_capsules_edit_text_search"
|
|
|
114 |
android:layout_width="match_parent"
|
|
|
115 |
android:layout_height="35dp"
|
|
|
116 |
android:layout_margin="15dp"
|
|
|
117 |
android:background="@drawable/edit_rounded_search"
|
|
|
118 |
android:drawableEnd="@drawable/search"
|
|
|
119 |
android:ems="10"
|
|
|
120 |
android:hint="@string/my_capsules_place_holder_search"
|
|
|
121 |
android:inputType="textPersonName"
|
|
|
122 |
android:paddingStart="10dp"
|
|
|
123 |
android:paddingEnd="10dp"
|
|
|
124 |
android:textColor="@color/colorTextColor"
|
|
|
125 |
android:textSize="14sp"
|
|
|
126 |
tools:visibility="visible" />
|
|
|
127 |
|
|
|
128 |
</LinearLayout>
|
|
|
129 |
|
|
|
130 |
<androidx.recyclerview.widget.RecyclerView
|
|
|
131 |
android:id="@+id/fragment_my_capsules_listing_capsules"
|
|
|
132 |
android:layout_width="0dp"
|
|
|
133 |
android:layout_height="0dp"
|
|
|
134 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
135 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
136 |
app:layout_constraintHorizontal_bias="0.0"
|
|
|
137 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
138 |
app:layout_constraintTop_toBottomOf="@+id/linearLayout"
|
|
|
139 |
app:layout_constraintVertical_bias="0.0"
|
|
|
140 |
/>
|
|
|
141 |
<!--
|
|
|
142 |
tools:visibility="gone"
|
|
|
143 |
-->
|
|
|
144 |
|
|
|
145 |
<TextView
|
|
|
146 |
android:id="@+id/fragment_my_capsules_textview_listing_empty"
|
|
|
147 |
android:layout_width="wrap_content"
|
|
|
148 |
android:layout_height="wrap_content"
|
|
|
149 |
android:text="@string/my_capsules_listing_empty"
|
|
|
150 |
android:textColor="@color/colorTextColor"
|
|
|
151 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
152 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
153 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
154 |
app:layout_constraintTop_toBottomOf="@+id/linearLayout"
|
|
|
155 |
/>
|
|
|
156 |
|
|
|
157 |
<!--
|
|
|
158 |
tools:visibility="gone"
|
|
|
159 |
-->
|
|
|
160 |
|
|
|
161 |
</androidx.constraintlayout.widget.ConstraintLayout>
|