react-native-mytatva-rn-sdk 1.2.32 → 1.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +144 -141
- package/android/src/main/AndroidManifest.xml +4 -1
- package/android/src/main/AndroidManifestNew.xml +141 -138
- package/android/src/main/java/com/mytatvarnsdk/CgmTrackyLibModule.kt +74 -101
- package/android/src/main/java/com/mytatvarnsdk/MainApplication.kt +4 -4
- package/android/src/main/java/com/mytatvarnsdk/activity/ConnectSensorActivity.kt +20 -2
- package/android/src/main/java/com/mytatvarnsdk/activity/PermissionActivity.kt +6 -0
- package/android/src/main/java/com/mytatvarnsdk/activity/PlaceSensorActivity.kt +82 -65
- package/android/src/main/java/com/mytatvarnsdk/activity/PlaceTransmitterActivity.kt +106 -89
- package/android/src/main/java/com/mytatvarnsdk/activity/SearchTransmitterActivity.kt +13 -7
- package/android/src/main/java/com/mytatvarnsdk/activity/SensorConnectSuccessActivity.kt +113 -96
- package/android/src/main/java/com/mytatvarnsdk/activity/StartCGMActivity.kt +110 -54
- package/android/src/main/java/com/mytatvarnsdk/activity/VideoActivity.kt +94 -0
- package/android/src/main/res/drawable/img_sensor_cross.png +0 -0
- package/android/src/main/res/drawable/radio_button_background.xml +1 -1
- package/android/src/main/res/drawable/radio_checked.xml +1 -1
- package/android/src/main/res/layout/activity_connect_sensor.xml +497 -495
- package/android/src/main/res/layout/activity_place_sensor.xml +250 -238
- package/android/src/main/res/layout/activity_place_transmitter.xml +219 -207
- package/android/src/main/res/layout/activity_search_transmitter.xml +714 -712
- package/android/src/main/res/layout/activity_sensor_connect_success.xml +250 -179
- package/android/src/main/res/layout/activity_start_cgmactivity.xml +153 -153
- package/android/src/main/res/layout/activity_video.xml +32 -0
- package/android/src/main/res/values/styles.xml +1 -3
- package/ios/Database/KLTDatabaseHandler.m +8 -0
- package/package.json +1 -1
|
@@ -1,529 +1,531 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
2
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
android:layout_width="match_parent"
|
|
6
|
-
android:layout_height="match_parent"
|
|
7
|
-
android:background="@android:color/white">
|
|
8
|
-
|
|
9
|
-
<include
|
|
10
|
-
android:id="@+id/toolbar"
|
|
11
|
-
layout="@layout/layout_toolbar"
|
|
12
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
13
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
14
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
15
|
-
|
|
16
|
-
<androidx.constraintlayout.widget.ConstraintLayout
|
|
17
|
-
android:id="@+id/llProgress"
|
|
3
|
+
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
4
|
+
android:id="@+id/main"
|
|
18
5
|
android:layout_width="match_parent"
|
|
19
|
-
android:layout_height="
|
|
20
|
-
|
|
6
|
+
android:layout_height="match_parent"
|
|
7
|
+
android:background="@android:color/white">
|
|
21
8
|
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
android:background="@drawable/bg_green_progress"
|
|
29
|
-
app:layout_constraintEnd_toStartOf="@id/view2"
|
|
30
|
-
app:layout_constraintHorizontal_chainStyle="spread"
|
|
31
|
-
app:layout_constraintHorizontal_weight="1.3"
|
|
32
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
33
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
34
|
-
|
|
35
|
-
<TextView
|
|
36
|
-
android:id="@+id/tvDivide1"
|
|
37
|
-
android:layout_width="wrap_content"
|
|
38
|
-
android:layout_height="wrap_content"
|
|
39
|
-
android:layout_marginTop="5dp"
|
|
40
|
-
android:fontFamily="@font/roboto_semibold"
|
|
41
|
-
android:text="Connect Sensor"
|
|
42
|
-
android:textColor="#2D3282"
|
|
43
|
-
android:textSize="11sp"
|
|
44
|
-
app:layout_constraintEnd_toEndOf="@+id/view3"
|
|
45
|
-
app:layout_constraintStart_toStartOf="@+id/view3"
|
|
46
|
-
app:layout_constraintTop_toBottomOf="@+id/view3" />
|
|
47
|
-
|
|
48
|
-
<View
|
|
49
|
-
android:id="@+id/view2"
|
|
50
|
-
android:layout_width="0dp"
|
|
51
|
-
android:layout_height="4dp"
|
|
52
|
-
android:layout_marginHorizontal="5dp"
|
|
53
|
-
android:layout_marginVertical="10dp"
|
|
54
|
-
android:background="@drawable/bg_green_progress"
|
|
55
|
-
app:layout_constraintEnd_toStartOf="@id/view3"
|
|
56
|
-
app:layout_constraintHorizontal_weight="1.3"
|
|
57
|
-
app:layout_constraintStart_toEndOf="@id/view1"
|
|
58
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
59
|
-
|
|
60
|
-
<TextView
|
|
61
|
-
android:id="@+id/tvDivide2"
|
|
62
|
-
android:layout_width="wrap_content"
|
|
63
|
-
android:layout_height="wrap_content"
|
|
64
|
-
android:layout_marginTop="5dp"
|
|
65
|
-
android:fontFamily="@font/roboto_semibold"
|
|
66
|
-
android:text="Place Sensor"
|
|
67
|
-
android:textColor="#D0D5DD"
|
|
68
|
-
android:textSize="11sp"
|
|
69
|
-
app:layout_constraintEnd_toEndOf="@+id/view4"
|
|
70
|
-
app:layout_constraintStart_toStartOf="@+id/view4"
|
|
71
|
-
app:layout_constraintTop_toBottomOf="@+id/view4" />
|
|
72
|
-
|
|
73
|
-
<View
|
|
74
|
-
android:id="@+id/view3"
|
|
75
|
-
android:layout_width="0dp"
|
|
76
|
-
android:layout_height="4dp"
|
|
77
|
-
android:layout_marginHorizontal="5dp"
|
|
78
|
-
android:layout_marginVertical="10dp"
|
|
79
|
-
android:background="@drawable/bg_dark_blue"
|
|
80
|
-
app:layout_constraintEnd_toStartOf="@id/view4"
|
|
81
|
-
app:layout_constraintHorizontal_weight="3"
|
|
82
|
-
app:layout_constraintStart_toEndOf="@id/view2"
|
|
83
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
84
|
-
|
|
85
|
-
<View
|
|
86
|
-
android:id="@+id/view4"
|
|
87
|
-
android:layout_width="0dp"
|
|
88
|
-
android:layout_height="4dp"
|
|
89
|
-
android:layout_marginHorizontal="5dp"
|
|
90
|
-
android:layout_marginVertical="10dp"
|
|
91
|
-
android:background="@drawable/bg_grey"
|
|
92
|
-
app:layout_constraintEnd_toStartOf="@id/view5"
|
|
93
|
-
app:layout_constraintHorizontal_weight="3"
|
|
94
|
-
app:layout_constraintStart_toEndOf="@id/view3"
|
|
95
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
9
|
+
<include
|
|
10
|
+
android:id="@+id/toolbar"
|
|
11
|
+
layout="@layout/layout_toolbar"
|
|
12
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
13
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
14
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
96
15
|
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
android:layout_height="2dp"
|
|
116
|
-
android:layout_marginTop="5dp"
|
|
117
|
-
android:background="#F2F4F7"
|
|
118
|
-
app:layout_constraintTop_toBottomOf="@+id/llProgress" />
|
|
16
|
+
<androidx.constraintlayout.widget.ConstraintLayout
|
|
17
|
+
android:id="@+id/llProgress"
|
|
18
|
+
android:layout_width="match_parent"
|
|
19
|
+
android:layout_height="wrap_content"
|
|
20
|
+
app:layout_constraintTop_toBottomOf="@+id/toolbar">
|
|
21
|
+
|
|
22
|
+
<View
|
|
23
|
+
android:id="@+id/view1"
|
|
24
|
+
android:layout_width="0dp"
|
|
25
|
+
android:layout_height="4dp"
|
|
26
|
+
android:layout_marginHorizontal="5dp"
|
|
27
|
+
android:layout_marginVertical="10dp"
|
|
28
|
+
android:background="@drawable/bg_green_progress"
|
|
29
|
+
app:layout_constraintEnd_toStartOf="@id/view2"
|
|
30
|
+
app:layout_constraintHorizontal_chainStyle="spread"
|
|
31
|
+
app:layout_constraintHorizontal_weight="1.3"
|
|
32
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
33
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
119
34
|
|
|
35
|
+
<TextView
|
|
36
|
+
android:id="@+id/tvDivide1"
|
|
37
|
+
android:layout_width="wrap_content"
|
|
38
|
+
android:layout_height="wrap_content"
|
|
39
|
+
android:layout_marginTop="5dp"
|
|
40
|
+
android:fontFamily="@font/roboto_semibold"
|
|
41
|
+
android:text="Connect Sensor"
|
|
42
|
+
android:textColor="#2D3282"
|
|
43
|
+
android:textSize="11sp"
|
|
44
|
+
app:layout_constraintEnd_toEndOf="@+id/view3"
|
|
45
|
+
app:layout_constraintStart_toStartOf="@+id/view3"
|
|
46
|
+
app:layout_constraintTop_toBottomOf="@+id/view3" />
|
|
47
|
+
|
|
48
|
+
<View
|
|
49
|
+
android:id="@+id/view2"
|
|
50
|
+
android:layout_width="0dp"
|
|
51
|
+
android:layout_height="4dp"
|
|
52
|
+
android:layout_marginHorizontal="5dp"
|
|
53
|
+
android:layout_marginVertical="10dp"
|
|
54
|
+
android:background="@drawable/bg_green_progress"
|
|
55
|
+
app:layout_constraintEnd_toStartOf="@id/view3"
|
|
56
|
+
app:layout_constraintHorizontal_weight="1.3"
|
|
57
|
+
app:layout_constraintStart_toEndOf="@id/view1"
|
|
58
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
120
59
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
android:textAlignment="center"
|
|
170
|
-
android:textColor="#667085"
|
|
171
|
-
android:textSize="14sp"
|
|
172
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
173
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
174
|
-
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
|
|
60
|
+
<TextView
|
|
61
|
+
android:id="@+id/tvDivide2"
|
|
62
|
+
android:layout_width="wrap_content"
|
|
63
|
+
android:layout_height="wrap_content"
|
|
64
|
+
android:layout_marginTop="5dp"
|
|
65
|
+
android:fontFamily="@font/roboto_semibold"
|
|
66
|
+
android:text="Place Sensor"
|
|
67
|
+
android:textColor="#D0D5DD"
|
|
68
|
+
android:textSize="11sp"
|
|
69
|
+
app:layout_constraintEnd_toEndOf="@+id/view4"
|
|
70
|
+
app:layout_constraintStart_toStartOf="@+id/view4"
|
|
71
|
+
app:layout_constraintTop_toBottomOf="@+id/view4" />
|
|
72
|
+
|
|
73
|
+
<View
|
|
74
|
+
android:id="@+id/view3"
|
|
75
|
+
android:layout_width="0dp"
|
|
76
|
+
android:layout_height="4dp"
|
|
77
|
+
android:layout_marginHorizontal="5dp"
|
|
78
|
+
android:layout_marginVertical="10dp"
|
|
79
|
+
android:background="@drawable/bg_dark_blue"
|
|
80
|
+
app:layout_constraintEnd_toStartOf="@id/view4"
|
|
81
|
+
app:layout_constraintHorizontal_weight="3"
|
|
82
|
+
app:layout_constraintStart_toEndOf="@id/view2"
|
|
83
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
84
|
+
|
|
85
|
+
<View
|
|
86
|
+
android:id="@+id/view4"
|
|
87
|
+
android:layout_width="0dp"
|
|
88
|
+
android:layout_height="4dp"
|
|
89
|
+
android:layout_marginHorizontal="5dp"
|
|
90
|
+
android:layout_marginVertical="10dp"
|
|
91
|
+
android:background="@drawable/bg_grey"
|
|
92
|
+
app:layout_constraintEnd_toStartOf="@id/view5"
|
|
93
|
+
app:layout_constraintHorizontal_weight="3"
|
|
94
|
+
app:layout_constraintStart_toEndOf="@id/view3"
|
|
95
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
96
|
+
|
|
97
|
+
<View
|
|
98
|
+
android:id="@+id/view5"
|
|
99
|
+
android:layout_width="0dp"
|
|
100
|
+
android:layout_height="4dp"
|
|
101
|
+
android:layout_marginHorizontal="5dp"
|
|
102
|
+
android:layout_marginVertical="10dp"
|
|
103
|
+
android:background="@drawable/bg_grey"
|
|
104
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
105
|
+
app:layout_constraintHorizontal_weight="1.3"
|
|
106
|
+
app:layout_constraintStart_toEndOf="@id/view4"
|
|
107
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
175
108
|
|
|
176
|
-
|
|
177
|
-
android:id="@+id/transmitterImages"
|
|
178
|
-
android:layout_width="match_parent"
|
|
179
|
-
android:layout_height="wrap_content"
|
|
180
|
-
android:layout_marginTop="24dp"
|
|
181
|
-
app:layout_constraintTop_toBottomOf="@id/tvInstructions">
|
|
182
|
-
|
|
183
|
-
<ImageView
|
|
184
|
-
android:id="@+id/ivTransmitter"
|
|
185
|
-
android:layout_width="120dp"
|
|
186
|
-
android:layout_height="140dp"
|
|
187
|
-
android:layout_marginStart="10dp"
|
|
188
|
-
android:adjustViewBounds="true"
|
|
189
|
-
android:src="@drawable/img_cgm_device"
|
|
190
|
-
app:layout_constraintBottom_toBottomOf="parent"
|
|
191
|
-
app:layout_constraintEnd_toStartOf="@+id/tvRemoveTransmitter"
|
|
192
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
193
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
109
|
+
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
194
110
|
|
|
195
|
-
<ImageView
|
|
196
|
-
android:id="@+id/ivChargingCase"
|
|
197
|
-
android:layout_width="150dp"
|
|
198
|
-
android:layout_height="150dp"
|
|
199
|
-
android:layout_marginEnd="10dp"
|
|
200
|
-
android:adjustViewBounds="true"
|
|
201
|
-
android:src="@drawable/img_box_qr"
|
|
202
|
-
app:layout_constraintBottom_toBottomOf="parent"
|
|
203
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
204
|
-
app:layout_constraintStart_toEndOf="@+id/tvRemoveTransmitter"
|
|
205
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
206
111
|
|
|
112
|
+
<View
|
|
113
|
+
android:id="@+id/divider"
|
|
114
|
+
android:layout_width="match_parent"
|
|
115
|
+
android:layout_height="2dp"
|
|
116
|
+
android:layout_marginTop="5dp"
|
|
117
|
+
android:background="#F2F4F7"
|
|
118
|
+
app:layout_constraintTop_toBottomOf="@+id/llProgress" />
|
|
207
119
|
|
|
208
|
-
<ImageView
|
|
209
|
-
android:id="@+id/ivFlip"
|
|
210
|
-
android:layout_width="50dp"
|
|
211
|
-
android:layout_height="50dp"
|
|
212
|
-
android:adjustViewBounds="true"
|
|
213
|
-
android:src="@drawable/ic_sync"
|
|
214
|
-
app:layout_constraintBottom_toTopOf="@+id/tvRemoveTransmitter"
|
|
215
|
-
app:layout_constraintEnd_toEndOf="@+id/tvRemoveTransmitter"
|
|
216
|
-
app:layout_constraintStart_toStartOf="@+id/tvRemoveTransmitter"
|
|
217
|
-
app:layout_constraintTop_toTopOf="parent"
|
|
218
|
-
app:layout_constraintVertical_chainStyle="packed" />
|
|
219
|
-
|
|
220
|
-
<TextView
|
|
221
|
-
android:id="@+id/tvRemoveTransmitter"
|
|
222
|
-
android:layout_width="wrap_content"
|
|
223
|
-
android:layout_height="wrap_content"
|
|
224
|
-
android:fontFamily="@font/roboto_regular"
|
|
225
|
-
android:gravity="center"
|
|
226
|
-
android:text="Flip the box to\nlocate the QR"
|
|
227
|
-
android:textAlignment="center"
|
|
228
|
-
android:textColor="#667085"
|
|
229
|
-
android:textSize="14sp"
|
|
230
|
-
app:layout_constraintBottom_toBottomOf="parent"
|
|
231
|
-
app:layout_constraintEnd_toStartOf="@id/ivChargingCase"
|
|
232
|
-
app:layout_constraintStart_toEndOf="@id/ivTransmitter"
|
|
233
|
-
app:layout_constraintTop_toBottomOf="@+id/ivFlip"
|
|
234
|
-
app:layout_constraintVertical_chainStyle="packed" />
|
|
235
|
-
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
236
120
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
android:id="@+id/statusContainer"
|
|
240
|
-
android:layout_width="0dp"
|
|
241
|
-
android:layout_height="wrap_content"
|
|
242
|
-
android:layout_marginStart="24dp"
|
|
243
|
-
android:layout_marginTop="20dp"
|
|
244
|
-
android:layout_marginEnd="24dp"
|
|
245
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
246
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
247
|
-
app:layout_constraintTop_toBottomOf="@id/transmitterImages">
|
|
248
|
-
|
|
249
|
-
<!-- Searching State -->
|
|
250
|
-
<androidx.constraintlayout.widget.ConstraintLayout
|
|
251
|
-
android:id="@+id/clPermission"
|
|
121
|
+
<androidx.constraintlayout.widget.ConstraintLayout
|
|
122
|
+
android:id="@+id/clMain"
|
|
252
123
|
android:layout_width="match_parent"
|
|
253
|
-
android:layout_height="
|
|
254
|
-
android:
|
|
255
|
-
android:
|
|
256
|
-
|
|
124
|
+
android:layout_height="0dp"
|
|
125
|
+
android:layout_marginTop="16dp"
|
|
126
|
+
android:orientation="vertical"
|
|
127
|
+
app:layout_constraintBottom_toTopOf="@+id/commonButton"
|
|
128
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
129
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
130
|
+
app:layout_constraintTop_toBottomOf="@id/divider">
|
|
257
131
|
|
|
258
132
|
<TextView
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
270
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
271
|
-
app:layout_constraintTop_toTopOf="parent"
|
|
272
|
-
app:layout_constraintVertical_chainStyle="packed" />
|
|
133
|
+
android:id="@+id/tvStep"
|
|
134
|
+
android:layout_width="wrap_content"
|
|
135
|
+
android:layout_height="wrap_content"
|
|
136
|
+
android:fontFamily="@font/roboto_semibold"
|
|
137
|
+
android:text="STEP 3"
|
|
138
|
+
android:textColor="#667085"
|
|
139
|
+
android:textSize="13sp"
|
|
140
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
141
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
142
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
273
143
|
|
|
274
144
|
<TextView
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
289
|
-
app:layout_constraintTop_toBottomOf="@+id/tvDesc"
|
|
290
|
-
app:layout_constraintVertical_chainStyle="packed" />
|
|
145
|
+
android:id="@+id/tvTitle"
|
|
146
|
+
android:layout_width="wrap_content"
|
|
147
|
+
android:layout_height="wrap_content"
|
|
148
|
+
android:layout_marginTop="8dp"
|
|
149
|
+
android:fontFamily="@font/playfairdisplay_bold"
|
|
150
|
+
android:gravity="center"
|
|
151
|
+
android:text="Connect to your Sensor"
|
|
152
|
+
android:textAlignment="center"
|
|
153
|
+
android:textColor="#101828"
|
|
154
|
+
android:textSize="24sp"
|
|
155
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
156
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
157
|
+
app:layout_constraintTop_toBottomOf="@id/tvStep" />
|
|
291
158
|
|
|
159
|
+
<TextView
|
|
160
|
+
android:id="@+id/tvInstructions"
|
|
161
|
+
android:layout_width="0dp"
|
|
162
|
+
android:layout_height="wrap_content"
|
|
163
|
+
android:layout_marginStart="32dp"
|
|
164
|
+
android:layout_marginTop="8dp"
|
|
165
|
+
android:layout_marginEnd="32dp"
|
|
166
|
+
android:fontFamily="@font/roboto_regular"
|
|
167
|
+
android:gravity="center"
|
|
168
|
+
android:text="Scan the QR on the back of the sensor to connect with the GoodFlip app"
|
|
169
|
+
android:textAlignment="center"
|
|
170
|
+
android:textColor="#667085"
|
|
171
|
+
android:textSize="14sp"
|
|
172
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
173
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
174
|
+
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
|
|
175
|
+
|
|
176
|
+
<androidx.constraintlayout.widget.ConstraintLayout
|
|
177
|
+
android:id="@+id/transmitterImages"
|
|
178
|
+
android:layout_width="match_parent"
|
|
179
|
+
android:layout_height="wrap_content"
|
|
180
|
+
android:layout_marginTop="24dp"
|
|
181
|
+
app:layout_constraintTop_toBottomOf="@id/tvInstructions">
|
|
182
|
+
|
|
183
|
+
<ImageView
|
|
184
|
+
android:id="@+id/ivTransmitter"
|
|
185
|
+
android:layout_width="120dp"
|
|
186
|
+
android:layout_height="140dp"
|
|
187
|
+
android:layout_marginStart="10dp"
|
|
188
|
+
android:adjustViewBounds="true"
|
|
189
|
+
android:src="@drawable/img_cgm_device"
|
|
190
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
191
|
+
app:layout_constraintEnd_toStartOf="@+id/tvRemoveTransmitter"
|
|
192
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
193
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
194
|
+
|
|
195
|
+
<ImageView
|
|
196
|
+
android:id="@+id/ivChargingCase"
|
|
197
|
+
android:layout_width="150dp"
|
|
198
|
+
android:layout_height="150dp"
|
|
199
|
+
android:layout_marginEnd="10dp"
|
|
200
|
+
android:adjustViewBounds="true"
|
|
201
|
+
android:src="@drawable/img_box_qr"
|
|
202
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
203
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
204
|
+
app:layout_constraintStart_toEndOf="@+id/tvRemoveTransmitter"
|
|
205
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<ImageView
|
|
209
|
+
android:id="@+id/ivFlip"
|
|
210
|
+
android:layout_width="50dp"
|
|
211
|
+
android:layout_height="50dp"
|
|
212
|
+
android:adjustViewBounds="true"
|
|
213
|
+
android:src="@drawable/ic_sync"
|
|
214
|
+
app:layout_constraintBottom_toTopOf="@+id/tvRemoveTransmitter"
|
|
215
|
+
app:layout_constraintEnd_toEndOf="@+id/tvRemoveTransmitter"
|
|
216
|
+
app:layout_constraintStart_toStartOf="@+id/tvRemoveTransmitter"
|
|
217
|
+
app:layout_constraintTop_toTopOf="parent"
|
|
218
|
+
app:layout_constraintVertical_chainStyle="packed" />
|
|
219
|
+
|
|
220
|
+
<TextView
|
|
221
|
+
android:id="@+id/tvRemoveTransmitter"
|
|
222
|
+
android:layout_width="wrap_content"
|
|
223
|
+
android:layout_height="wrap_content"
|
|
224
|
+
android:fontFamily="@font/roboto_regular"
|
|
225
|
+
android:gravity="center"
|
|
226
|
+
android:text="Flip the box to\nlocate the QR"
|
|
227
|
+
android:textAlignment="center"
|
|
228
|
+
android:textColor="#667085"
|
|
229
|
+
android:textSize="14sp"
|
|
230
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
231
|
+
app:layout_constraintEnd_toStartOf="@id/ivChargingCase"
|
|
232
|
+
app:layout_constraintStart_toEndOf="@id/ivTransmitter"
|
|
233
|
+
app:layout_constraintTop_toBottomOf="@+id/ivFlip"
|
|
234
|
+
app:layout_constraintVertical_chainStyle="packed" />
|
|
235
|
+
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
236
|
+
|
|
237
|
+
<!-- Status Container -->
|
|
238
|
+
<FrameLayout
|
|
239
|
+
android:id="@+id/statusContainer"
|
|
240
|
+
android:layout_width="0dp"
|
|
241
|
+
android:layout_height="wrap_content"
|
|
242
|
+
android:layout_marginStart="24dp"
|
|
243
|
+
android:layout_marginTop="20dp"
|
|
244
|
+
android:layout_marginEnd="24dp"
|
|
245
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
246
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
247
|
+
app:layout_constraintTop_toBottomOf="@id/transmitterImages">
|
|
248
|
+
|
|
249
|
+
<!-- Searching State -->
|
|
250
|
+
<androidx.constraintlayout.widget.ConstraintLayout
|
|
251
|
+
android:id="@+id/clPermission"
|
|
252
|
+
android:layout_width="match_parent"
|
|
253
|
+
android:layout_height="180dp"
|
|
254
|
+
android:background="@drawable/bg_dark_black"
|
|
255
|
+
android:paddingHorizontal="15dp"
|
|
256
|
+
android:paddingVertical="8dp">
|
|
257
|
+
|
|
258
|
+
<TextView
|
|
259
|
+
android:id="@+id/tvDesc"
|
|
260
|
+
android:layout_width="0dp"
|
|
261
|
+
android:layout_height="wrap_content"
|
|
262
|
+
android:fontFamily="@font/roboto_medium"
|
|
263
|
+
android:gravity="center"
|
|
264
|
+
android:text="GoodFlip requires camera permission to scan the QR and connect with the sensor"
|
|
265
|
+
android:textAlignment="center"
|
|
266
|
+
android:textColor="#FFFFFF"
|
|
267
|
+
android:textSize="15sp"
|
|
268
|
+
app:layout_constraintBottom_toTopOf="@+id/tvPermission"
|
|
269
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
270
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
271
|
+
app:layout_constraintTop_toTopOf="parent"
|
|
272
|
+
app:layout_constraintVertical_chainStyle="packed" />
|
|
273
|
+
|
|
274
|
+
<TextView
|
|
275
|
+
android:id="@+id/tvPermission"
|
|
276
|
+
android:layout_width="wrap_content"
|
|
277
|
+
android:layout_height="wrap_content"
|
|
278
|
+
android:layout_marginTop="15dp"
|
|
279
|
+
android:fontFamily="@font/roboto_bold"
|
|
280
|
+
android:gravity="center"
|
|
281
|
+
android:text="@string/txt_provide_camera_permisison"
|
|
282
|
+
android:textAlignment="center"
|
|
283
|
+
android:textColor="#299D6B"
|
|
284
|
+
android:textSize="15sp"
|
|
285
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
286
|
+
app:layout_constraintEnd_toStartOf="@+id/ivProceedArrow"
|
|
287
|
+
app:layout_constraintHorizontal_chainStyle="packed"
|
|
288
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
289
|
+
app:layout_constraintTop_toBottomOf="@+id/tvDesc"
|
|
290
|
+
app:layout_constraintVertical_chainStyle="packed" />
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<androidx.appcompat.widget.AppCompatImageView
|
|
294
|
+
android:id="@+id/ivProceedArrow"
|
|
295
|
+
android:layout_width="18dp"
|
|
296
|
+
android:layout_height="18dp"
|
|
297
|
+
android:layout_marginStart="5dp"
|
|
298
|
+
android:src="@drawable/ic_right_arrow"
|
|
299
|
+
app:layout_constraintBottom_toBottomOf="@+id/tvPermission"
|
|
300
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
301
|
+
app:layout_constraintHorizontal_chainStyle="packed"
|
|
302
|
+
app:layout_constraintStart_toEndOf="@+id/tvPermission"
|
|
303
|
+
app:layout_constraintTop_toTopOf="@+id/tvPermission"
|
|
304
|
+
app:tint="@color/color_green" />
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
308
|
+
|
|
309
|
+
</FrameLayout>
|
|
292
310
|
|
|
293
|
-
|
|
294
|
-
android:id="@+id/ivProceedArrow"
|
|
295
|
-
android:layout_width="18dp"
|
|
296
|
-
android:layout_height="18dp"
|
|
297
|
-
android:layout_marginStart="5dp"
|
|
298
|
-
android:src="@drawable/ic_right_arrow"
|
|
299
|
-
app:layout_constraintBottom_toBottomOf="@+id/tvPermission"
|
|
300
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
301
|
-
app:layout_constraintHorizontal_chainStyle="packed"
|
|
302
|
-
app:layout_constraintStart_toEndOf="@+id/tvPermission"
|
|
303
|
-
app:layout_constraintTop_toTopOf="@+id/tvPermission"
|
|
304
|
-
app:tint="@color/color_green" />
|
|
305
|
-
|
|
311
|
+
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
306
312
|
|
|
307
|
-
|
|
313
|
+
<androidx.constraintlayout.widget.ConstraintLayout
|
|
314
|
+
android:id="@+id/clFail"
|
|
315
|
+
android:layout_width="match_parent"
|
|
316
|
+
android:layout_height="0dp"
|
|
317
|
+
android:layout_marginTop="16dp"
|
|
318
|
+
android:orientation="vertical"
|
|
319
|
+
android:visibility="gone"
|
|
320
|
+
app:layout_constraintBottom_toTopOf="@+id/commonButton"
|
|
321
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
322
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
323
|
+
app:layout_constraintTop_toBottomOf="@id/divider">
|
|
308
324
|
|
|
309
|
-
|
|
325
|
+
<androidx.appcompat.widget.AppCompatImageView
|
|
326
|
+
android:id="@+id/ivGif"
|
|
327
|
+
android:layout_width="80dp"
|
|
328
|
+
android:layout_height="80dp"
|
|
329
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
330
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
331
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
310
332
|
|
|
311
|
-
|
|
333
|
+
<TextView
|
|
334
|
+
android:id="@+id/tvFailTitle"
|
|
335
|
+
android:layout_width="wrap_content"
|
|
336
|
+
android:layout_height="wrap_content"
|
|
337
|
+
android:layout_marginTop="8dp"
|
|
338
|
+
android:fontFamily="@font/playfairdisplay_bold"
|
|
339
|
+
android:gravity="center"
|
|
340
|
+
android:text="Unable to detect sensor"
|
|
341
|
+
android:textAlignment="center"
|
|
342
|
+
android:textColor="#101828"
|
|
343
|
+
android:textSize="24sp"
|
|
344
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
345
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
346
|
+
app:layout_constraintTop_toBottomOf="@id/ivGif" />
|
|
312
347
|
|
|
313
|
-
<androidx.constraintlayout.widget.ConstraintLayout
|
|
314
|
-
android:id="@+id/clFail"
|
|
315
|
-
android:layout_width="match_parent"
|
|
316
|
-
android:layout_height="0dp"
|
|
317
|
-
android:layout_marginTop="16dp"
|
|
318
|
-
android:orientation="vertical"
|
|
319
|
-
android:visibility="gone"
|
|
320
|
-
app:layout_constraintBottom_toTopOf="@+id/commonButton"
|
|
321
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
322
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
323
|
-
app:layout_constraintTop_toBottomOf="@id/divider">
|
|
324
|
-
|
|
325
|
-
<androidx.appcompat.widget.AppCompatImageView
|
|
326
|
-
android:id="@+id/ivGif"
|
|
327
|
-
android:layout_width="80dp"
|
|
328
|
-
android:layout_height="80dp"
|
|
329
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
330
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
331
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
332
|
-
|
|
333
|
-
<TextView
|
|
334
|
-
android:id="@+id/tvFailTitle"
|
|
335
|
-
android:layout_width="wrap_content"
|
|
336
|
-
android:layout_height="wrap_content"
|
|
337
|
-
android:layout_marginTop="8dp"
|
|
338
|
-
android:fontFamily="@font/playfairdisplay_bold"
|
|
339
|
-
android:gravity="center"
|
|
340
|
-
android:text="Unable to detect sensor"
|
|
341
|
-
android:textAlignment="center"
|
|
342
|
-
android:textColor="#101828"
|
|
343
|
-
android:textSize="24sp"
|
|
344
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
345
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
346
|
-
app:layout_constraintTop_toBottomOf="@id/ivGif" />
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
<TextView
|
|
350
|
-
android:id="@+id/tvReason"
|
|
351
|
-
android:layout_width="0dp"
|
|
352
|
-
android:layout_height="wrap_content"
|
|
353
|
-
android:layout_marginHorizontal="30dp"
|
|
354
|
-
android:layout_marginVertical="10dp"
|
|
355
|
-
android:fontFamily="@font/roboto_semibold"
|
|
356
|
-
android:gravity="center"
|
|
357
|
-
android:textAlignment="center"
|
|
358
|
-
android:textColor="#667085"
|
|
359
|
-
android:textSize="14sp"
|
|
360
|
-
android:visibility="gone"
|
|
361
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
362
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
363
|
-
app:layout_constraintTop_toBottomOf="@id/tvFailTitle" />
|
|
364
|
-
|
|
365
|
-
<TextView
|
|
366
|
-
android:id="@+id/tvFailInstructions"
|
|
367
|
-
android:layout_width="0dp"
|
|
368
|
-
android:layout_height="wrap_content"
|
|
369
|
-
android:layout_marginHorizontal="30dp"
|
|
370
|
-
android:layout_marginVertical="10dp"
|
|
371
|
-
android:fontFamily="@font/roboto_regular"
|
|
372
|
-
android:gravity="center"
|
|
373
|
-
android:text="Make sure there is proper lighting in the room"
|
|
374
|
-
android:textAlignment="center"
|
|
375
|
-
android:textColor="#667085"
|
|
376
|
-
android:textSize="14sp"
|
|
377
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
378
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
379
|
-
app:layout_constraintTop_toBottomOf="@id/tvReason" />
|
|
380
348
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
app:layout_constraintEnd_toStartOf="@+id/tvFlip"
|
|
397
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
398
|
-
app:layout_constraintTop_toTopOf="parent" />
|
|
349
|
+
<TextView
|
|
350
|
+
android:id="@+id/tvReason"
|
|
351
|
+
android:layout_width="0dp"
|
|
352
|
+
android:layout_height="wrap_content"
|
|
353
|
+
android:layout_marginHorizontal="30dp"
|
|
354
|
+
android:layout_marginVertical="10dp"
|
|
355
|
+
android:fontFamily="@font/roboto_semibold"
|
|
356
|
+
android:gravity="center"
|
|
357
|
+
android:textAlignment="center"
|
|
358
|
+
android:textColor="#667085"
|
|
359
|
+
android:textSize="14sp"
|
|
360
|
+
android:visibility="gone"
|
|
361
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
362
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
363
|
+
app:layout_constraintTop_toBottomOf="@id/tvFailTitle" />
|
|
399
364
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
365
|
+
<TextView
|
|
366
|
+
android:id="@+id/tvFailInstructions"
|
|
367
|
+
android:layout_width="0dp"
|
|
368
|
+
android:layout_height="wrap_content"
|
|
369
|
+
android:layout_marginHorizontal="30dp"
|
|
370
|
+
android:layout_marginVertical="10dp"
|
|
371
|
+
android:fontFamily="@font/roboto_regular"
|
|
372
|
+
android:gravity="center"
|
|
373
|
+
android:text="Make sure there is proper lighting in the room"
|
|
374
|
+
android:textAlignment="center"
|
|
375
|
+
android:textColor="#667085"
|
|
376
|
+
android:textSize="14sp"
|
|
377
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
378
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
379
|
+
app:layout_constraintTop_toBottomOf="@id/tvReason" />
|
|
380
|
+
|
|
381
|
+
<androidx.constraintlayout.widget.ConstraintLayout
|
|
382
|
+
android:id="@+id/clBox"
|
|
383
|
+
android:layout_width="match_parent"
|
|
384
|
+
android:layout_height="wrap_content"
|
|
385
|
+
android:layout_marginTop="24dp"
|
|
386
|
+
app:layout_constraintTop_toBottomOf="@id/tvFailInstructions">
|
|
387
|
+
|
|
388
|
+
<ImageView
|
|
389
|
+
android:id="@+id/ivSensor"
|
|
390
|
+
android:layout_width="120dp"
|
|
391
|
+
android:layout_height="140dp"
|
|
392
|
+
android:layout_marginStart="10dp"
|
|
393
|
+
android:adjustViewBounds="true"
|
|
394
|
+
android:src="@drawable/img_cgm_device"
|
|
395
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
396
|
+
app:layout_constraintEnd_toStartOf="@+id/tvFlip"
|
|
397
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
398
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
399
|
+
|
|
400
|
+
<ImageView
|
|
401
|
+
android:id="@+id/ivBox"
|
|
402
|
+
android:layout_width="150dp"
|
|
403
|
+
android:layout_height="150dp"
|
|
404
|
+
android:layout_marginEnd="10dp"
|
|
405
|
+
android:adjustViewBounds="true"
|
|
406
|
+
android:src="@drawable/img_box_qr"
|
|
407
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
408
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
409
|
+
app:layout_constraintStart_toEndOf="@+id/tvFlip"
|
|
410
|
+
app:layout_constraintTop_toTopOf="parent" />
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
<ImageView
|
|
414
|
+
android:id="@+id/ivSync"
|
|
415
|
+
android:layout_width="50dp"
|
|
416
|
+
android:layout_height="50dp"
|
|
417
|
+
android:adjustViewBounds="true"
|
|
418
|
+
android:src="@drawable/ic_sync"
|
|
419
|
+
app:layout_constraintBottom_toTopOf="@+id/tvFlip"
|
|
420
|
+
app:layout_constraintEnd_toEndOf="@+id/tvFlip"
|
|
421
|
+
app:layout_constraintStart_toStartOf="@+id/tvFlip"
|
|
422
|
+
app:layout_constraintTop_toTopOf="parent"
|
|
423
|
+
app:layout_constraintVertical_chainStyle="packed" />
|
|
424
|
+
|
|
425
|
+
<TextView
|
|
426
|
+
android:id="@+id/tvFlip"
|
|
427
|
+
android:layout_width="wrap_content"
|
|
428
|
+
android:layout_height="wrap_content"
|
|
429
|
+
android:fontFamily="@font/roboto_regular"
|
|
430
|
+
android:gravity="center"
|
|
431
|
+
android:text="Flip the box to\nlocate the QR"
|
|
432
|
+
android:textAlignment="center"
|
|
433
|
+
android:textColor="#667085"
|
|
434
|
+
android:textSize="14sp"
|
|
435
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
436
|
+
app:layout_constraintEnd_toStartOf="@id/ivBox"
|
|
437
|
+
app:layout_constraintStart_toEndOf="@id/ivSensor"
|
|
438
|
+
app:layout_constraintTop_toBottomOf="@+id/ivSync"
|
|
439
|
+
app:layout_constraintVertical_chainStyle="packed" />
|
|
440
|
+
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
<LinearLayout
|
|
444
|
+
android:id="@+id/llWatchDemo"
|
|
445
|
+
android:layout_width="match_parent"
|
|
446
|
+
android:layout_height="wrap_content"
|
|
447
|
+
android:layout_marginHorizontal="20dp"
|
|
448
|
+
android:layout_marginTop="30dp"
|
|
449
|
+
android:background="@drawable/bg_blue"
|
|
450
|
+
android:clickable="true"
|
|
451
|
+
android:focusable="true"
|
|
452
|
+
android:orientation="horizontal"
|
|
453
|
+
android:paddingHorizontal="15dp"
|
|
454
|
+
android:paddingVertical="10dp"
|
|
455
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
456
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
457
|
+
app:layout_constraintTop_toBottomOf="@+id/clBox">
|
|
458
|
+
|
|
459
|
+
<androidx.appcompat.widget.AppCompatImageView
|
|
460
|
+
android:layout_width="20dp"
|
|
461
|
+
android:layout_height="20dp"
|
|
462
|
+
android:layout_gravity="center_vertical"
|
|
463
|
+
app:srcCompat="@drawable/ic_play"
|
|
464
|
+
app:tint="#2D3282" />
|
|
465
|
+
|
|
466
|
+
<androidx.appcompat.widget.AppCompatTextView
|
|
467
|
+
android:layout_width="wrap_content"
|
|
468
|
+
android:layout_height="wrap_content"
|
|
469
|
+
android:layout_gravity="center_vertical"
|
|
470
|
+
android:layout_marginStart="5dp"
|
|
471
|
+
android:fontFamily="@font/roboto_medium"
|
|
472
|
+
android:text="Watch this video to ensure a smooth connection journey"
|
|
473
|
+
android:textColor="#2D3282"
|
|
474
|
+
android:textSize="@dimen/text_12sp" />
|
|
475
|
+
|
|
476
|
+
</LinearLayout>
|
|
411
477
|
|
|
478
|
+
<TextView
|
|
479
|
+
android:layout_width="0dp"
|
|
480
|
+
android:layout_height="wrap_content"
|
|
481
|
+
android:layout_marginHorizontal="30dp"
|
|
482
|
+
android:layout_marginVertical="20dp"
|
|
483
|
+
android:fontFamily="@font/roboto_regular"
|
|
484
|
+
android:gravity="center"
|
|
485
|
+
android:text="If you are still not able to detect the sensor then contact our support team"
|
|
486
|
+
android:textAlignment="center"
|
|
487
|
+
android:textColor="#667085"
|
|
488
|
+
android:textSize="14sp"
|
|
489
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
490
|
+
app:layout_constraintStart_toStartOf="parent"
|
|
491
|
+
app:layout_constraintTop_toBottomOf="@id/llWatchDemo" />
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
<androidx.appcompat.widget.LinearLayoutCompat
|
|
495
|
+
android:layout_width="match_parent"
|
|
496
|
+
android:layout_height="wrap_content"
|
|
497
|
+
android:layout_marginHorizontal="10dp"
|
|
498
|
+
android:weightSum="2"
|
|
499
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
500
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
501
|
+
app:layout_constraintStart_toStartOf="parent">
|
|
502
|
+
|
|
503
|
+
<include
|
|
504
|
+
android:id="@+id/btnSupport"
|
|
505
|
+
layout="@layout/layout_green_border_button"
|
|
506
|
+
android:layout_width="0dp"
|
|
507
|
+
android:layout_height="wrap_content"
|
|
508
|
+
android:layout_weight="1" />
|
|
509
|
+
|
|
510
|
+
<include
|
|
511
|
+
android:id="@+id/btnRetry"
|
|
512
|
+
layout="@layout/layout_button"
|
|
513
|
+
android:layout_width="0dp"
|
|
514
|
+
android:layout_height="wrap_content"
|
|
515
|
+
android:layout_weight="1" />
|
|
516
|
+
|
|
517
|
+
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
412
518
|
|
|
413
|
-
<ImageView
|
|
414
|
-
android:id="@+id/ivSync"
|
|
415
|
-
android:layout_width="50dp"
|
|
416
|
-
android:layout_height="50dp"
|
|
417
|
-
android:adjustViewBounds="true"
|
|
418
|
-
android:src="@drawable/ic_sync"
|
|
419
|
-
app:layout_constraintBottom_toTopOf="@+id/tvFlip"
|
|
420
|
-
app:layout_constraintEnd_toEndOf="@+id/tvFlip"
|
|
421
|
-
app:layout_constraintStart_toStartOf="@+id/tvFlip"
|
|
422
|
-
app:layout_constraintTop_toTopOf="parent"
|
|
423
|
-
app:layout_constraintVertical_chainStyle="packed" />
|
|
424
|
-
|
|
425
|
-
<TextView
|
|
426
|
-
android:id="@+id/tvFlip"
|
|
427
|
-
android:layout_width="wrap_content"
|
|
428
|
-
android:layout_height="wrap_content"
|
|
429
|
-
android:fontFamily="@font/roboto_regular"
|
|
430
|
-
android:gravity="center"
|
|
431
|
-
android:text="Flip the box to\nlocate the QR"
|
|
432
|
-
android:textAlignment="center"
|
|
433
|
-
android:textColor="#667085"
|
|
434
|
-
android:textSize="14sp"
|
|
435
|
-
app:layout_constraintBottom_toBottomOf="parent"
|
|
436
|
-
app:layout_constraintEnd_toStartOf="@id/ivBox"
|
|
437
|
-
app:layout_constraintStart_toEndOf="@id/ivSensor"
|
|
438
|
-
app:layout_constraintTop_toBottomOf="@+id/ivSync"
|
|
439
|
-
app:layout_constraintVertical_chainStyle="packed" />
|
|
440
519
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
441
520
|
|
|
442
521
|
|
|
443
|
-
<
|
|
444
|
-
|
|
445
|
-
android:layout_width="match_parent"
|
|
446
|
-
android:layout_height="wrap_content"
|
|
447
|
-
android:layout_marginHorizontal="20dp"
|
|
448
|
-
android:layout_marginTop="30dp"
|
|
449
|
-
android:background="@drawable/bg_blue"
|
|
450
|
-
android:orientation="horizontal"
|
|
451
|
-
android:paddingHorizontal="15dp"
|
|
452
|
-
android:paddingVertical="10dp"
|
|
453
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
454
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
455
|
-
app:layout_constraintTop_toBottomOf="@+id/clBox">
|
|
456
|
-
|
|
457
|
-
<androidx.appcompat.widget.AppCompatImageView
|
|
458
|
-
android:layout_width="20dp"
|
|
459
|
-
android:layout_height="20dp"
|
|
460
|
-
android:layout_gravity="center_vertical"
|
|
461
|
-
app:srcCompat="@drawable/ic_play"
|
|
462
|
-
app:tint="#2D3282" />
|
|
463
|
-
|
|
464
|
-
<androidx.appcompat.widget.AppCompatTextView
|
|
465
|
-
android:layout_width="wrap_content"
|
|
466
|
-
android:layout_height="wrap_content"
|
|
467
|
-
android:layout_gravity="center_vertical"
|
|
468
|
-
android:layout_marginStart="5dp"
|
|
469
|
-
android:fontFamily="@font/roboto_medium"
|
|
470
|
-
android:text="Watch this video to ensure a smooth connection journey"
|
|
471
|
-
android:textColor="#2D3282"
|
|
472
|
-
android:textSize="@dimen/text_12sp" />
|
|
473
|
-
|
|
474
|
-
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
475
|
-
|
|
476
|
-
<TextView
|
|
477
|
-
android:layout_width="0dp"
|
|
478
|
-
android:layout_height="wrap_content"
|
|
479
|
-
android:layout_marginHorizontal="30dp"
|
|
480
|
-
android:layout_marginVertical="20dp"
|
|
481
|
-
android:fontFamily="@font/roboto_regular"
|
|
482
|
-
android:gravity="center"
|
|
483
|
-
android:text="If you are still not able to detect the sensor then contact our support team"
|
|
484
|
-
android:textAlignment="center"
|
|
485
|
-
android:textColor="#667085"
|
|
486
|
-
android:textSize="14sp"
|
|
487
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
488
|
-
app:layout_constraintStart_toStartOf="parent"
|
|
489
|
-
app:layout_constraintTop_toBottomOf="@id/btnWatchDemo" />
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
<androidx.appcompat.widget.LinearLayoutCompat
|
|
493
|
-
android:layout_width="match_parent"
|
|
494
|
-
android:layout_height="wrap_content"
|
|
495
|
-
android:layout_marginHorizontal="10dp"
|
|
496
|
-
android:weightSum="2"
|
|
497
|
-
app:layout_constraintBottom_toBottomOf="parent"
|
|
498
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
499
|
-
app:layout_constraintStart_toStartOf="parent">
|
|
500
|
-
|
|
501
|
-
<include
|
|
502
|
-
android:id="@+id/btnSupport"
|
|
503
|
-
layout="@layout/layout_green_border_button"
|
|
504
|
-
android:layout_width="0dp"
|
|
505
|
-
android:layout_height="wrap_content"
|
|
506
|
-
android:layout_weight="1" />
|
|
507
|
-
|
|
508
|
-
<include
|
|
509
|
-
android:id="@+id/btnRetry"
|
|
522
|
+
<include
|
|
523
|
+
android:id="@+id/commonButton"
|
|
510
524
|
layout="@layout/layout_button"
|
|
511
|
-
android:layout_width="
|
|
525
|
+
android:layout_width="match_parent"
|
|
512
526
|
android:layout_height="wrap_content"
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
<include
|
|
521
|
-
android:id="@+id/commonButton"
|
|
522
|
-
layout="@layout/layout_button"
|
|
523
|
-
android:layout_width="match_parent"
|
|
524
|
-
android:layout_height="wrap_content"
|
|
525
|
-
app:layout_constraintBottom_toBottomOf="parent"
|
|
526
|
-
app:layout_constraintEnd_toEndOf="parent"
|
|
527
|
-
app:layout_constraintStart_toStartOf="parent" />
|
|
527
|
+
app:layout_constraintBottom_toBottomOf="parent"
|
|
528
|
+
app:layout_constraintEnd_toEndOf="parent"
|
|
529
|
+
app:layout_constraintStart_toStartOf="parent" />
|
|
528
530
|
|
|
529
531
|
</androidx.constraintlayout.widget.ConstraintLayout>
|