Panagiotis Triantafyllou

new keys

...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
2 2
3 ext { 3 ext {
4 PUBLISH_GROUP_ID = 'ly.warp' 4 PUBLISH_GROUP_ID = 'ly.warp'
5 - PUBLISH_VERSION = '4.5.4-cosbeta76' 5 + PUBLISH_VERSION = '4.5.4-cosbeta77'
6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
7 } 7 }
8 8
......
...@@ -38,6 +38,7 @@ import ly.warp.sdk.utils.WarpJSONParser; ...@@ -38,6 +38,7 @@ import ly.warp.sdk.utils.WarpJSONParser;
38 import ly.warp.sdk.utils.WarpUtils; 38 import ly.warp.sdk.utils.WarpUtils;
39 import ly.warp.sdk.utils.WarplyManagerHelper; 39 import ly.warp.sdk.utils.WarplyManagerHelper;
40 import ly.warp.sdk.utils.managers.WarplyEventBusManager; 40 import ly.warp.sdk.utils.managers.WarplyEventBusManager;
41 +import ly.warp.sdk.utils.managers.WarplyManager;
41 import ly.warp.sdk.views.adapters.MergedMoreAdapter; 42 import ly.warp.sdk.views.adapters.MergedMoreAdapter;
42 import ly.warp.sdk.views.adapters.MoreCampaignAdapter; 43 import ly.warp.sdk.views.adapters.MoreCampaignAdapter;
43 import ly.warp.sdk.views.adapters.MoreContextualAdapter; 44 import ly.warp.sdk.views.adapters.MoreContextualAdapter;
...@@ -211,7 +212,7 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener ...@@ -211,7 +212,7 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener
211 // initViews2(); 212 // initViews2();
212 213
213 /** New Implementation */ 214 /** New Implementation */
214 - initViewsNew2(); 215 + runOnUiThread(this::initViewsNew2);
215 /** New Implementation */ 216 /** New Implementation */
216 } 217 }
217 } 218 }
...@@ -518,10 +519,11 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener ...@@ -518,10 +519,11 @@ public class MoreForYouActivity extends Activity implements View.OnClickListener
518 if (extraFields.has("type") && extraFields.optString("type").equals("telco")) { 519 if (extraFields.has("type") && extraFields.optString("type").equals("telco")) {
519 for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) { 520 for (LoyaltyContextualOfferModel ccms : WarplyManagerHelper.getCCMSLoyaltyCampaigns()) {
520 if (ccms.getLoyaltyCampaignId().equals(moreItem.getSessionUUID())) { 521 if (ccms.getLoyaltyCampaignId().equals(moreItem.getSessionUUID())) {
522 + WarplyManager.getSingleCampaign(moreItem.getSessionUUID());
521 Intent intent = new Intent(MoreForYouActivity.this, TelcoActivity.class); 523 Intent intent = new Intent(MoreForYouActivity.this, TelcoActivity.class);
522 intent.putExtra("ccms", ccms); 524 intent.putExtra("ccms", ccms);
523 intent.putExtra("loyalty", (Serializable) moreItem); 525 intent.putExtra("loyalty", (Serializable) moreItem);
524 - startActivity(intent); 526 + startActivityForResult(intent, 1003);
525 break; 527 break;
526 } 528 }
527 } 529 }
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
25 25
26 package ly.warp.sdk.utils; 26 package ly.warp.sdk.utils;
27 27
28 +import android.app.ActivityManager;
28 import android.content.Context; 29 import android.content.Context;
29 import android.content.Intent; 30 import android.content.Intent;
30 import android.content.pm.PackageManager; 31 import android.content.pm.PackageManager;
...@@ -79,6 +80,7 @@ import ly.warp.sdk.io.request.WarplyIntegrationRequest; ...@@ -79,6 +80,7 @@ import ly.warp.sdk.io.request.WarplyIntegrationRequest;
79 import ly.warp.sdk.io.request.WarplyUserCouponsRequest; 80 import ly.warp.sdk.io.request.WarplyUserCouponsRequest;
80 import ly.warp.sdk.services.EventService; 81 import ly.warp.sdk.services.EventService;
81 import ly.warp.sdk.services.FCMBaseMessagingService; 82 import ly.warp.sdk.services.FCMBaseMessagingService;
83 +import ly.warp.sdk.services.WarplyHealthService;
82 import ly.warp.sdk.utils.managers.WarplyEventBusManager; 84 import ly.warp.sdk.utils.managers.WarplyEventBusManager;
83 import ly.warp.sdk.utils.managers.WarplyManager; 85 import ly.warp.sdk.utils.managers.WarplyManager;
84 86
...@@ -1230,6 +1232,23 @@ public class WarplyManagerHelper { ...@@ -1230,6 +1232,23 @@ public class WarplyManagerHelper {
1230 1232
1231 } 1233 }
1232 1234
1235 + public static void logoutUser() {
1236 + if (isMyServiceRunning(WarplyHealthService.class)) {
1237 + Intent stepsServiceIntent = new Intent(Warply.getWarplyContext(), WarplyHealthService.class);
1238 + Warply.getWarplyContext().stopService(stepsServiceIntent);
1239 + }
1240 + }
1241 +
1242 + private static boolean isMyServiceRunning(Class<?> serviceClass) {
1243 + ActivityManager manager = (ActivityManager) Warply.getWarplyContext().getSystemService(Context.ACTIVITY_SERVICE);
1244 + for (ActivityManager.RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {
1245 + if (serviceClass.getName().equals(service.service.getClassName())) {
1246 + return true;
1247 + }
1248 + }
1249 + return false;
1250 + }
1251 +
1233 // =========================================================== 1252 // ===========================================================
1234 // Inner and Anonymous Classes 1253 // Inner and Anonymous Classes
1235 // =========================================================== 1254 // ===========================================================
......
...@@ -532,7 +532,7 @@ public class WarpView extends WebView { ...@@ -532,7 +532,7 @@ public class WarpView extends WebView {
532 WarplyManagerHelper.mMetersWebview = 0.0d; 532 WarplyManagerHelper.mMetersWebview = 0.0d;
533 WarpViewActivity.getMetersHandler().postDelayed(this, 300); 533 WarpViewActivity.getMetersHandler().postDelayed(this, 300);
534 } 534 }
535 - }, 1000); 535 + }, 3000); //TODO: change it back to 1000
536 536
537 if (url.contains("about:blank")) { 537 if (url.contains("about:blank")) {
538 WarpView.this.clearHistory(); 538 WarpView.this.clearHistory();
......
...@@ -10,24 +10,24 @@ ...@@ -10,24 +10,24 @@
10 <androidx.constraintlayout.widget.ConstraintLayout 10 <androidx.constraintlayout.widget.ConstraintLayout
11 android:id="@+id/cl_bill_header" 11 android:id="@+id/cl_bill_header"
12 android:layout_width="match_parent" 12 android:layout_width="match_parent"
13 - android:layout_height="50dp" 13 + android:layout_height="48dp"
14 android:background="@android:color/white"> 14 android:background="@android:color/white">
15 15
16 <ImageView 16 <ImageView
17 android:id="@+id/iv_coupons_close" 17 android:id="@+id/iv_coupons_close"
18 - android:layout_width="26dp" 18 + android:layout_width="48dp"
19 - android:layout_height="25dp" 19 + android:layout_height="48dp"
20 - android:layout_marginStart="24dp" 20 + android:layout_marginStart="16dp"
21 - android:layout_marginTop="4dp"
22 android:src="@drawable/ic_back" 21 android:src="@drawable/ic_back"
22 + android:scaleType="centerInside"
23 app:layout_constraintBottom_toBottomOf="parent" 23 app:layout_constraintBottom_toBottomOf="parent"
24 app:layout_constraintStart_toStartOf="parent" 24 app:layout_constraintStart_toStartOf="parent"
25 app:layout_constraintTop_toTopOf="parent" /> 25 app:layout_constraintTop_toTopOf="parent" />
26 26
27 <TextView 27 <TextView
28 android:id="@+id/textView3" 28 android:id="@+id/textView3"
29 - android:layout_width="206dp" 29 + android:layout_width="wrap_content"
30 - android:layout_height="32dp" 30 + android:layout_height="wrap_content"
31 android:gravity="center" 31 android:gravity="center"
32 android:text="@string/cos_active_all_coupons" 32 android:text="@string/cos_active_all_coupons"
33 android:textColor="@color/grey" 33 android:textColor="@color/grey"
......
...@@ -10,23 +10,24 @@ ...@@ -10,23 +10,24 @@
10 <androidx.constraintlayout.widget.ConstraintLayout 10 <androidx.constraintlayout.widget.ConstraintLayout
11 android:id="@+id/cl_bill_header" 11 android:id="@+id/cl_bill_header"
12 android:layout_width="match_parent" 12 android:layout_width="match_parent"
13 - android:layout_height="80dp" 13 + android:layout_height="48dp"
14 android:background="@android:color/white"> 14 android:background="@android:color/white">
15 15
16 <ImageView 16 <ImageView
17 android:id="@+id/iv_list_close" 17 android:id="@+id/iv_list_close"
18 - android:layout_width="26dp" 18 + android:layout_width="48dp"
19 - android:layout_height="25dp" 19 + android:layout_height="48dp"
20 - android:layout_marginStart="24dp" 20 + android:layout_marginStart="16dp"
21 - android:layout_marginTop="4dp" 21 + android:scaleType="centerInside"
22 android:src="@drawable/ic_back" 22 android:src="@drawable/ic_back"
23 + app:layout_constraintBottom_toBottomOf="parent"
23 app:layout_constraintStart_toStartOf="parent" 24 app:layout_constraintStart_toStartOf="parent"
24 - app:layout_constraintTop_toTopOf="@+id/textView3" /> 25 + app:layout_constraintTop_toTopOf="parent" />
25 26
26 <TextView 27 <TextView
27 android:id="@+id/textView3" 28 android:id="@+id/textView3"
28 - android:layout_width="206dp" 29 + android:layout_width="wrap_content"
29 - android:layout_height="32dp" 30 + android:layout_height="wrap_content"
30 android:gravity="center" 31 android:gravity="center"
31 android:textColor="@color/grey" 32 android:textColor="@color/grey"
32 android:textSize="17sp" 33 android:textSize="17sp"
...@@ -34,8 +35,7 @@ ...@@ -34,8 +35,7 @@
34 android:text="@string/cos_active_gifts_title" 35 android:text="@string/cos_active_gifts_title"
35 app:layout_constraintBottom_toBottomOf="parent" 36 app:layout_constraintBottom_toBottomOf="parent"
36 app:layout_constraintEnd_toEndOf="parent" 37 app:layout_constraintEnd_toEndOf="parent"
37 - app:layout_constraintHorizontal_bias="0.356" 38 + app:layout_constraintStart_toStartOf="parent"
38 - app:layout_constraintStart_toEndOf="@+id/iv_list_close"
39 app:layout_constraintTop_toTopOf="parent" /> 39 app:layout_constraintTop_toTopOf="parent" />
40 </androidx.constraintlayout.widget.ConstraintLayout> 40 </androidx.constraintlayout.widget.ConstraintLayout>
41 41
......
...@@ -8,15 +8,16 @@ ...@@ -8,15 +8,16 @@
8 <androidx.constraintlayout.widget.ConstraintLayout 8 <androidx.constraintlayout.widget.ConstraintLayout
9 android:id="@+id/cl_loyalty_wallet_header" 9 android:id="@+id/cl_loyalty_wallet_header"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 - android:layout_height="50dp" 11 + android:layout_height="48dp"
12 android:background="@android:color/white"> 12 android:background="@android:color/white">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/iv_contextual_back" 15 android:id="@+id/iv_contextual_back"
16 - android:layout_width="26dp" 16 + android:layout_width="48dp"
17 - android:layout_height="25dp" 17 + android:layout_height="48dp"
18 android:layout_marginStart="16dp" 18 android:layout_marginStart="16dp"
19 android:src="@drawable/ic_back" 19 android:src="@drawable/ic_back"
20 + android:scaleType="centerInside"
20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintBottom_toBottomOf="parent"
21 app:layout_constraintStart_toStartOf="parent" 22 app:layout_constraintStart_toStartOf="parent"
22 app:layout_constraintTop_toTopOf="parent" /> 23 app:layout_constraintTop_toTopOf="parent" />
......
...@@ -8,15 +8,16 @@ ...@@ -8,15 +8,16 @@
8 <androidx.constraintlayout.widget.ConstraintLayout 8 <androidx.constraintlayout.widget.ConstraintLayout
9 android:id="@+id/cl_loyalty_wallet_header" 9 android:id="@+id/cl_loyalty_wallet_header"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 - android:layout_height="50dp" 11 + android:layout_height="48dp"
12 android:background="@android:color/white"> 12 android:background="@android:color/white">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/iv_coupon_info_back" 15 android:id="@+id/iv_coupon_info_back"
16 - android:layout_width="26dp" 16 + android:layout_width="48dp"
17 - android:layout_height="25dp" 17 + android:layout_height="48dp"
18 android:layout_marginStart="16dp" 18 android:layout_marginStart="16dp"
19 android:src="@drawable/ic_back" 19 android:src="@drawable/ic_back"
20 + android:scaleType="centerInside"
20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintBottom_toBottomOf="parent"
21 app:layout_constraintStart_toStartOf="parent" 22 app:layout_constraintStart_toStartOf="parent"
22 app:layout_constraintTop_toTopOf="parent" /> 23 app:layout_constraintTop_toTopOf="parent" />
......
...@@ -8,15 +8,16 @@ ...@@ -8,15 +8,16 @@
8 <androidx.constraintlayout.widget.ConstraintLayout 8 <androidx.constraintlayout.widget.ConstraintLayout
9 android:id="@+id/cl_loyalty_wallet_header" 9 android:id="@+id/cl_loyalty_wallet_header"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 - android:layout_height="50dp" 11 + android:layout_height="48dp"
12 android:background="@android:color/white"> 12 android:background="@android:color/white">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/iv_coupon_share_back" 15 android:id="@+id/iv_coupon_share_back"
16 - android:layout_width="26dp" 16 + android:layout_width="48dp"
17 - android:layout_height="25dp" 17 + android:layout_height="48dp"
18 android:layout_marginStart="16dp" 18 android:layout_marginStart="16dp"
19 android:src="@drawable/ic_back" 19 android:src="@drawable/ic_back"
20 + android:scaleType="centerInside"
20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintBottom_toBottomOf="parent"
21 app:layout_constraintStart_toStartOf="parent" 22 app:layout_constraintStart_toStartOf="parent"
22 app:layout_constraintTop_toTopOf="parent" /> 23 app:layout_constraintTop_toTopOf="parent" />
......
...@@ -8,15 +8,16 @@ ...@@ -8,15 +8,16 @@
8 <androidx.constraintlayout.widget.ConstraintLayout 8 <androidx.constraintlayout.widget.ConstraintLayout
9 android:id="@+id/cl_loyalty_wallet_header" 9 android:id="@+id/cl_loyalty_wallet_header"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 - android:layout_height="50dp" 11 + android:layout_height="48dp"
12 android:background="@android:color/white"> 12 android:background="@android:color/white">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/iv_couponset_info_back" 15 android:id="@+id/iv_couponset_info_back"
16 - android:layout_width="26dp" 16 + android:layout_width="48dp"
17 - android:layout_height="25dp" 17 + android:layout_height="48dp"
18 android:layout_marginStart="16dp" 18 android:layout_marginStart="16dp"
19 android:src="@drawable/ic_back" 19 android:src="@drawable/ic_back"
20 + android:scaleType="centerInside"
20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintBottom_toBottomOf="parent"
21 app:layout_constraintStart_toStartOf="parent" 22 app:layout_constraintStart_toStartOf="parent"
22 app:layout_constraintTop_toTopOf="parent" /> 23 app:layout_constraintTop_toTopOf="parent" />
......
...@@ -11,23 +11,24 @@ ...@@ -11,23 +11,24 @@
11 <androidx.constraintlayout.widget.ConstraintLayout 11 <androidx.constraintlayout.widget.ConstraintLayout
12 android:id="@+id/cl_bill_header" 12 android:id="@+id/cl_bill_header"
13 android:layout_width="match_parent" 13 android:layout_width="match_parent"
14 - android:layout_height="80dp" 14 + android:layout_height="48dp"
15 android:background="@android:color/white"> 15 android:background="@android:color/white">
16 16
17 <ImageView 17 <ImageView
18 android:id="@+id/iv_list_close" 18 android:id="@+id/iv_list_close"
19 - android:layout_width="26dp" 19 + android:layout_width="48dp"
20 - android:layout_height="25dp" 20 + android:layout_height="48dp"
21 - android:layout_marginStart="24dp" 21 + android:layout_marginStart="16dp"
22 - android:layout_marginTop="4dp" 22 + android:scaleType="centerInside"
23 android:src="@drawable/ic_back" 23 android:src="@drawable/ic_back"
24 + app:layout_constraintBottom_toBottomOf="parent"
24 app:layout_constraintStart_toStartOf="parent" 25 app:layout_constraintStart_toStartOf="parent"
25 - app:layout_constraintTop_toTopOf="@+id/textView3" /> 26 + app:layout_constraintTop_toTopOf="parent" />
26 27
27 <TextView 28 <TextView
28 android:id="@+id/textView3" 29 android:id="@+id/textView3"
29 - android:layout_width="206dp" 30 + android:layout_width="wrap_content"
30 - android:layout_height="32dp" 31 + android:layout_height="wrap_content"
31 android:gravity="center" 32 android:gravity="center"
32 android:textColor="@color/grey" 33 android:textColor="@color/grey"
33 android:textSize="17sp" 34 android:textSize="17sp"
...@@ -35,8 +36,7 @@ ...@@ -35,8 +36,7 @@
35 android:text="@string/cos_gifts_title" 36 android:text="@string/cos_gifts_title"
36 app:layout_constraintBottom_toBottomOf="parent" 37 app:layout_constraintBottom_toBottomOf="parent"
37 app:layout_constraintEnd_toEndOf="parent" 38 app:layout_constraintEnd_toEndOf="parent"
38 - app:layout_constraintHorizontal_bias="0.356" 39 + app:layout_constraintStart_toStartOf="parent"
39 - app:layout_constraintStart_toEndOf="@+id/iv_list_close"
40 app:layout_constraintTop_toTopOf="parent" /> 40 app:layout_constraintTop_toTopOf="parent" />
41 </androidx.constraintlayout.widget.ConstraintLayout> 41 </androidx.constraintlayout.widget.ConstraintLayout>
42 42
......
...@@ -10,15 +10,16 @@ ...@@ -10,15 +10,16 @@
10 <androidx.constraintlayout.widget.ConstraintLayout 10 <androidx.constraintlayout.widget.ConstraintLayout
11 android:id="@+id/cl_loyalty_analysis_header" 11 android:id="@+id/cl_loyalty_analysis_header"
12 android:layout_width="match_parent" 12 android:layout_width="match_parent"
13 - android:layout_height="50dp" 13 + android:layout_height="48dp"
14 android:background="@android:color/white"> 14 android:background="@android:color/white">
15 15
16 <ImageView 16 <ImageView
17 android:id="@+id/iv_loyalty_analysis_close" 17 android:id="@+id/iv_loyalty_analysis_close"
18 - android:layout_width="26dp" 18 + android:layout_width="48dp"
19 - android:layout_height="25dp" 19 + android:layout_height="48dp"
20 android:layout_marginStart="16dp" 20 android:layout_marginStart="16dp"
21 android:src="@drawable/ic_back" 21 android:src="@drawable/ic_back"
22 + android:scaleType="centerInside"
22 app:layout_constraintBottom_toBottomOf="parent" 23 app:layout_constraintBottom_toBottomOf="parent"
23 app:layout_constraintStart_toStartOf="parent" 24 app:layout_constraintStart_toStartOf="parent"
24 app:layout_constraintTop_toTopOf="parent" /> 25 app:layout_constraintTop_toTopOf="parent" />
......
...@@ -8,15 +8,16 @@ ...@@ -8,15 +8,16 @@
8 <androidx.constraintlayout.widget.ConstraintLayout 8 <androidx.constraintlayout.widget.ConstraintLayout
9 android:id="@+id/cl_loyalty_wallet_header" 9 android:id="@+id/cl_loyalty_wallet_header"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 - android:layout_height="50dp" 11 + android:layout_height="48dp"
12 android:background="@android:color/white"> 12 android:background="@android:color/white">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/iv_back" 15 android:id="@+id/iv_back"
16 - android:layout_width="26dp" 16 + android:layout_width="48dp"
17 - android:layout_height="25dp" 17 + android:layout_height="48dp"
18 android:layout_marginStart="16dp" 18 android:layout_marginStart="16dp"
19 android:src="@drawable/ic_back" 19 android:src="@drawable/ic_back"
20 + android:scaleType="centerInside"
20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintBottom_toBottomOf="parent"
21 app:layout_constraintStart_toStartOf="parent" 22 app:layout_constraintStart_toStartOf="parent"
22 app:layout_constraintTop_toTopOf="parent" /> 23 app:layout_constraintTop_toTopOf="parent" />
......
...@@ -10,32 +10,32 @@ ...@@ -10,32 +10,32 @@
10 <androidx.constraintlayout.widget.ConstraintLayout 10 <androidx.constraintlayout.widget.ConstraintLayout
11 android:id="@+id/cl_more_header" 11 android:id="@+id/cl_more_header"
12 android:layout_width="match_parent" 12 android:layout_width="match_parent"
13 - android:layout_height="80dp" 13 + android:layout_height="48dp"
14 app:layout_constraintTop_toTopOf="parent"> 14 app:layout_constraintTop_toTopOf="parent">
15 15
16 <ImageView 16 <ImageView
17 android:id="@+id/iv_list_close" 17 android:id="@+id/iv_list_close"
18 - android:layout_width="26dp" 18 + android:layout_width="48dp"
19 - android:layout_height="25dp" 19 + android:layout_height="48dp"
20 - android:layout_marginStart="24dp" 20 + android:layout_marginStart="16dp"
21 - android:layout_marginTop="4dp" 21 + android:scaleType="centerInside"
22 android:src="@drawable/ic_back" 22 android:src="@drawable/ic_back"
23 + app:layout_constraintBottom_toBottomOf="parent"
23 app:layout_constraintStart_toStartOf="parent" 24 app:layout_constraintStart_toStartOf="parent"
24 - app:layout_constraintTop_toTopOf="@+id/textView3" /> 25 + app:layout_constraintTop_toTopOf="parent" />
25 26
26 <TextView 27 <TextView
27 android:id="@+id/textView3" 28 android:id="@+id/textView3"
28 fontPath="fonts/pf_square_sans_pro_bold.ttf" 29 fontPath="fonts/pf_square_sans_pro_bold.ttf"
29 - android:layout_width="206dp" 30 + android:layout_width="wrap_content"
30 - android:layout_height="32dp" 31 + android:layout_height="wrap_content"
31 android:gravity="center" 32 android:gravity="center"
32 android:text="@string/cos_more_title" 33 android:text="@string/cos_more_title"
33 android:textColor="@color/grey" 34 android:textColor="@color/grey"
34 android:textSize="17sp" 35 android:textSize="17sp"
35 app:layout_constraintBottom_toBottomOf="parent" 36 app:layout_constraintBottom_toBottomOf="parent"
36 app:layout_constraintEnd_toEndOf="parent" 37 app:layout_constraintEnd_toEndOf="parent"
37 - app:layout_constraintHorizontal_bias="0.356" 38 + app:layout_constraintStart_toStartOf="parent"
38 - app:layout_constraintStart_toEndOf="@+id/iv_list_close"
39 app:layout_constraintTop_toTopOf="parent" /> 39 app:layout_constraintTop_toTopOf="parent" />
40 </androidx.constraintlayout.widget.ConstraintLayout> 40 </androidx.constraintlayout.widget.ConstraintLayout>
41 41
......
...@@ -8,15 +8,16 @@ ...@@ -8,15 +8,16 @@
8 <androidx.constraintlayout.widget.ConstraintLayout 8 <androidx.constraintlayout.widget.ConstraintLayout
9 android:id="@+id/cl_loyalty_wallet_header" 9 android:id="@+id/cl_loyalty_wallet_header"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 - android:layout_height="50dp" 11 + android:layout_height="48dp"
12 android:background="@android:color/white"> 12 android:background="@android:color/white">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/iv_shops_back" 15 android:id="@+id/iv_shops_back"
16 - android:layout_width="26dp" 16 + android:layout_width="48dp"
17 - android:layout_height="25dp" 17 + android:layout_height="48dp"
18 android:layout_marginStart="16dp" 18 android:layout_marginStart="16dp"
19 android:src="@drawable/ic_back" 19 android:src="@drawable/ic_back"
20 + android:scaleType="centerInside"
20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintBottom_toBottomOf="parent"
21 app:layout_constraintStart_toStartOf="parent" 22 app:layout_constraintStart_toStartOf="parent"
22 app:layout_constraintTop_toTopOf="parent" /> 23 app:layout_constraintTop_toTopOf="parent" />
......
...@@ -8,15 +8,16 @@ ...@@ -8,15 +8,16 @@
8 <androidx.constraintlayout.widget.ConstraintLayout 8 <androidx.constraintlayout.widget.ConstraintLayout
9 android:id="@+id/cl_loyalty_wallet_header" 9 android:id="@+id/cl_loyalty_wallet_header"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 - android:layout_height="50dp" 11 + android:layout_height="48dp"
12 android:background="@android:color/white"> 12 android:background="@android:color/white">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/iv_telco_back" 15 android:id="@+id/iv_telco_back"
16 - android:layout_width="22dp" 16 + android:layout_width="48dp"
17 - android:layout_height="22dp" 17 + android:layout_height="48dp"
18 android:layout_marginStart="16dp" 18 android:layout_marginStart="16dp"
19 android:src="@drawable/ic_close" 19 android:src="@drawable/ic_close"
20 + android:scaleType="centerInside"
20 app:layout_constraintBottom_toBottomOf="parent" 21 app:layout_constraintBottom_toBottomOf="parent"
21 app:layout_constraintStart_toStartOf="parent" 22 app:layout_constraintStart_toStartOf="parent"
22 app:layout_constraintTop_toTopOf="parent" /> 23 app:layout_constraintTop_toTopOf="parent" />
......