Showing
16 changed files
with
111 additions
and
91 deletions
... | @@ -257,10 +257,10 @@ public class LoyaltyAnalysisActivity extends Activity implements View.OnClickLis | ... | @@ -257,10 +257,10 @@ public class LoyaltyAnalysisActivity extends Activity implements View.OnClickLis |
257 | CalligraphyTypefaceSpan typefaceBoldSpan = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); | 257 | CalligraphyTypefaceSpan typefaceBoldSpan = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); |
258 | CalligraphyTypefaceSpan typefaceBoldSpan2 = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); | 258 | CalligraphyTypefaceSpan typefaceBoldSpan2 = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); |
259 | sBuilder.setSpan(typefaceRegularSpan, 0, getString(R.string.cos_wallet_text3).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 259 | sBuilder.setSpan(typefaceRegularSpan, 0, getString(R.string.cos_wallet_text3).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
260 | - sBuilder.setSpan(typefaceBoldSpan, getString(R.string.cos_wallet_text3).length(), getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 260 | + sBuilder.setSpan(typefaceBoldSpan, getString(R.string.cos_wallet_text3).length(), getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
261 | - sBuilder.setSpan(typefaceRegularSpan2, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 261 | + sBuilder.setSpan(typefaceRegularSpan2, getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1, getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
262 | - sBuilder.setSpan(typefaceBoldSpan2, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length(), getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 262 | + sBuilder.setSpan(typefaceBoldSpan2, getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length(), getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
263 | - sBuilder.setSpan(typefaceRegularSpan3, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length() + getString(R.string.cos_wallet_text5).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 263 | + sBuilder.setSpan(typefaceRegularSpan3, getString(R.string.cos_wallet_text3).length() + 1 + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length() + getString(R.string.cos_wallet_text5).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
264 | 264 | ||
265 | mTvCouponsValueAll.setText(sBuilder, TextView.BufferType.SPANNABLE); | 265 | mTvCouponsValueAll.setText(sBuilder, TextView.BufferType.SPANNABLE); |
266 | 266 | ... | ... |
... | @@ -70,7 +70,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -70,7 +70,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
70 | mTvActiveTitle, mTvActiveCouponsHeader; | 70 | mTvActiveTitle, mTvActiveCouponsHeader; |
71 | private ConstraintLayout mClDealsBanner, mClDealsView, | 71 | private ConstraintLayout mClDealsBanner, mClDealsView, |
72 | mClGiftsBanner, mClToolbar; | 72 | mClGiftsBanner, mClToolbar; |
73 | - private LinearLayout mLlQuestionnaire, mLlUserBadge, mLlEmptyWallet; | 73 | + private LinearLayout mLlQuestionnaire, mLlUserBadge, mLlEmptyWallet, mLlDeals, mLlGifts; |
74 | private FlowLayout mLlActiveCodesView; | 74 | private FlowLayout mLlActiveCodesView; |
75 | private float couponDfyValue = 0.0f; | 75 | private float couponDfyValue = 0.0f; |
76 | private RecyclerView mRecyclerCoupons; | 76 | private RecyclerView mRecyclerCoupons; |
... | @@ -105,6 +105,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -105,6 +105,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
105 | mTvActiveDate = findViewById(R.id.tv_active_deals_date_text); | 105 | mTvActiveDate = findViewById(R.id.tv_active_deals_date_text); |
106 | mIvDealsLogo = findViewById(R.id.dfy_logo); | 106 | mIvDealsLogo = findViewById(R.id.dfy_logo); |
107 | mClDealsView = findViewById(R.id.cl_mygifts); | 107 | mClDealsView = findViewById(R.id.cl_mygifts); |
108 | + mLlDeals = findViewById(R.id.ll_mygifts); | ||
108 | mIvProfilePhoto = findViewById(R.id.iv_profile_photo); | 109 | mIvProfilePhoto = findViewById(R.id.iv_profile_photo); |
109 | mTvActiveTitle = findViewById(R.id.tv_active_gifts); | 110 | mTvActiveTitle = findViewById(R.id.tv_active_gifts); |
110 | mTvActiveCouponsHeader = findViewById(R.id.tv_active_coupons_header); | 111 | mTvActiveCouponsHeader = findViewById(R.id.tv_active_coupons_header); |
... | @@ -113,6 +114,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -113,6 +114,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
113 | mScActiveCodes = findViewById(R.id.sv_active_deals_codes_view); | 114 | mScActiveCodes = findViewById(R.id.sv_active_deals_codes_view); |
114 | mSvLoyaltyWallet = findViewById(R.id.sv_loyalty_wallet); | 115 | mSvLoyaltyWallet = findViewById(R.id.sv_loyalty_wallet); |
115 | mClToolbar = findViewById(R.id.cl_loyalty_wallet_header); | 116 | mClToolbar = findViewById(R.id.cl_loyalty_wallet_header); |
117 | + mLlGifts = findViewById(R.id.ll_gifts_view); | ||
116 | 118 | ||
117 | if (WarplyManagerHelper.getActiveDFYCoupons() != null) { | 119 | if (WarplyManagerHelper.getActiveDFYCoupons() != null) { |
118 | Collections.sort(WarplyManagerHelper.getActiveDFYCoupons(), new Comparator<ActiveDFYCouponModel>() { | 120 | Collections.sort(WarplyManagerHelper.getActiveDFYCoupons(), new Comparator<ActiveDFYCouponModel>() { |
... | @@ -307,8 +309,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -307,8 +309,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
307 | .subscribe(); | 309 | .subscribe(); |
308 | mAdapterCoupons.notifyDataSetChanged(); | 310 | mAdapterCoupons.notifyDataSetChanged(); |
309 | } else { | 311 | } else { |
310 | - mRecyclerCoupons.setVisibility(View.GONE); | 312 | + mLlGifts.setVisibility(View.GONE); |
311 | - mTvActiveCouponsHeader.setVisibility(View.GONE); | ||
312 | } | 313 | } |
313 | }); | 314 | }); |
314 | } | 315 | } |
... | @@ -360,8 +361,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -360,8 +361,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
360 | }) | 361 | }) |
361 | .subscribe(); | 362 | .subscribe(); |
362 | } else { | 363 | } else { |
363 | - mRecyclerCoupons.setVisibility(View.GONE); | 364 | + mLlGifts.setVisibility(View.GONE); |
364 | - mTvActiveCouponsHeader.setVisibility(View.GONE); | ||
365 | } | 365 | } |
366 | 366 | ||
367 | if (WarplyManagerHelper.getDealsCouponsSum() > 0) { | 367 | if (WarplyManagerHelper.getDealsCouponsSum() > 0) { |
... | @@ -403,10 +403,10 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -403,10 +403,10 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
403 | CalligraphyTypefaceSpan typefaceBoldSpan = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); | 403 | CalligraphyTypefaceSpan typefaceBoldSpan = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); |
404 | CalligraphyTypefaceSpan typefaceBoldSpan2 = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); | 404 | CalligraphyTypefaceSpan typefaceBoldSpan2 = new CalligraphyTypefaceSpan(TypefaceUtils.load(getAssets(), "fonts/PeridotPE-Bold.ttf")); |
405 | sBuilder.setSpan(typefaceRegularSpan, 0, getString(R.string.cos_wallet_text3).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 405 | sBuilder.setSpan(typefaceRegularSpan, 0, getString(R.string.cos_wallet_text3).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
406 | - sBuilder.setSpan(typefaceBoldSpan, getString(R.string.cos_wallet_text3).length(), getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 406 | + sBuilder.setSpan(typefaceBoldSpan, getString(R.string.cos_wallet_text3).length(), getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
407 | - sBuilder.setSpan(typefaceRegularSpan2, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 407 | + sBuilder.setSpan(typefaceRegularSpan2, getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1, getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
408 | - sBuilder.setSpan(typefaceBoldSpan2, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length(), getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 408 | + sBuilder.setSpan(typefaceBoldSpan2, getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length(), getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
409 | - sBuilder.setSpan(typefaceRegularSpan3, getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), getString(R.string.cos_wallet_text3).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getValue()).length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length() + getString(R.string.cos_wallet_text5).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); | 409 | + sBuilder.setSpan(typefaceRegularSpan3, getString(R.string.cos_wallet_text3).length() + 1 + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length(), getString(R.string.cos_wallet_text3).length() + badgeValue.length() + 1 + getString(R.string.cos_wallet_text4).length() + String.valueOf(WarplyManagerHelper.getLoyaltyBadge().getCouponCount()).length() + getString(R.string.cos_wallet_text5).length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); |
410 | 410 | ||
411 | mTvGiftsValueAll.setText(sBuilder, TextView.BufferType.SPANNABLE); | 411 | mTvGiftsValueAll.setText(sBuilder, TextView.BufferType.SPANNABLE); |
412 | } else { | 412 | } else { |
... | @@ -470,8 +470,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -470,8 +470,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
470 | } | 470 | } |
471 | // mTvActiveCode.setText(codes); | 471 | // mTvActiveCode.setText(codes); |
472 | } else { | 472 | } else { |
473 | - mIvDealsLogo.setVisibility(View.GONE); | 473 | + mLlDeals.setVisibility(View.GONE); |
474 | - mClDealsView.setVisibility(View.GONE); | ||
475 | } | 474 | } |
476 | 475 | ||
477 | if (WarplyManagerHelper.getConsumer() != null) { | 476 | if (WarplyManagerHelper.getConsumer() != null) { |
... | @@ -500,7 +499,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie | ... | @@ -500,7 +499,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie |
500 | } | 499 | } |
501 | 500 | ||
502 | if (mClDealsBanner.getVisibility() == View.GONE && mClGiftsBanner.getVisibility() == View.GONE | 501 | if (mClDealsBanner.getVisibility() == View.GONE && mClGiftsBanner.getVisibility() == View.GONE |
503 | - && mClDealsView.getVisibility() == View.GONE && WarplyManagerHelper.getCouponList().size() == 0) { | 502 | + && mLlDeals.getVisibility() == View.GONE && mLlGifts.getVisibility() == View.GONE) { |
504 | mLlEmptyWallet.setVisibility(View.VISIBLE); | 503 | mLlEmptyWallet.setVisibility(View.VISIBLE); |
505 | } | 504 | } |
506 | 505 | ... | ... |
... | @@ -122,7 +122,7 @@ public class SharedCouponAdapter extends RecyclerView.Adapter<SharedCouponAdapte | ... | @@ -122,7 +122,7 @@ public class SharedCouponAdapter extends RecyclerView.Adapter<SharedCouponAdapte |
122 | 122 | ||
123 | JSONObject extraFields = WarpJSONParser.getJSONFromString(couponItem.getTransactionMetadata()); | 123 | JSONObject extraFields = WarpJSONParser.getJSONFromString(couponItem.getTransactionMetadata()); |
124 | 124 | ||
125 | - SimpleDateFormat simpleDateFormat = new SimpleDateFormat("E, MMM dd yyyy HH:mm:ss", Locale.US); | 125 | + SimpleDateFormat simpleDateFormat = new SimpleDateFormat("E, dd MMM yyyy HH:mm:ss", Locale.US); |
126 | Date newDate = new Date(); | 126 | Date newDate = new Date(); |
127 | try { | 127 | try { |
128 | newDate = simpleDateFormat.parse(couponItem.getDate()); | 128 | newDate = simpleDateFormat.parse(couponItem.getDate()); | ... | ... |
5.38 KB
5.05 KB
3.12 KB
... | @@ -99,7 +99,7 @@ | ... | @@ -99,7 +99,7 @@ |
99 | <LinearLayout | 99 | <LinearLayout |
100 | android:id="@+id/ll_activate_button" | 100 | android:id="@+id/ll_activate_button" |
101 | android:layout_width="160dp" | 101 | android:layout_width="160dp" |
102 | - android:layout_height="42dp" | 102 | + android:layout_height="55dp" |
103 | android:background="@drawable/selector_button_green" | 103 | android:background="@drawable/selector_button_green" |
104 | android:gravity="center" | 104 | android:gravity="center" |
105 | android:orientation="horizontal" | 105 | android:orientation="horizontal" | ... | ... |
... | @@ -213,7 +213,7 @@ | ... | @@ -213,7 +213,7 @@ |
213 | <LinearLayout | 213 | <LinearLayout |
214 | android:id="@+id/ll_gift_it" | 214 | android:id="@+id/ll_gift_it" |
215 | android:layout_width="160dp" | 215 | android:layout_width="160dp" |
216 | - android:layout_height="42dp" | 216 | + android:layout_height="55dp" |
217 | android:layout_gravity="center" | 217 | android:layout_gravity="center" |
218 | android:layout_marginHorizontal="32dp" | 218 | android:layout_marginHorizontal="32dp" |
219 | android:layout_marginTop="64dp" | 219 | android:layout_marginTop="64dp" |
... | @@ -236,7 +236,7 @@ | ... | @@ -236,7 +236,7 @@ |
236 | <LinearLayout | 236 | <LinearLayout |
237 | android:id="@+id/ll_shops" | 237 | android:id="@+id/ll_shops" |
238 | android:layout_width="220dp" | 238 | android:layout_width="220dp" |
239 | - android:layout_height="42dp" | 239 | + android:layout_height="55dp" |
240 | android:layout_gravity="center" | 240 | android:layout_gravity="center" |
241 | android:layout_marginHorizontal="32dp" | 241 | android:layout_marginHorizontal="32dp" |
242 | android:layout_marginTop="24dp" | 242 | android:layout_marginTop="24dp" |
... | @@ -261,7 +261,7 @@ | ... | @@ -261,7 +261,7 @@ |
261 | <LinearLayout | 261 | <LinearLayout |
262 | android:id="@+id/ll_website" | 262 | android:id="@+id/ll_website" |
263 | android:layout_width="220dp" | 263 | android:layout_width="220dp" |
264 | - android:layout_height="42dp" | 264 | + android:layout_height="55dp" |
265 | android:layout_gravity="center" | 265 | android:layout_gravity="center" |
266 | android:layout_marginHorizontal="32dp" | 266 | android:layout_marginHorizontal="32dp" |
267 | android:layout_marginTop="24dp" | 267 | android:layout_marginTop="24dp" | ... | ... |
... | @@ -146,6 +146,7 @@ | ... | @@ -146,6 +146,7 @@ |
146 | 146 | ||
147 | <EditText | 147 | <EditText |
148 | android:id="@+id/et_phone" | 148 | android:id="@+id/et_phone" |
149 | + fontPath="fonts/PeridotPE-Regular.ttf" | ||
149 | android:layout_width="match_parent" | 150 | android:layout_width="match_parent" |
150 | android:layout_height="wrap_content" | 151 | android:layout_height="wrap_content" |
151 | android:layout_alignParentStart="true" | 152 | android:layout_alignParentStart="true" |
... | @@ -153,7 +154,6 @@ | ... | @@ -153,7 +154,6 @@ |
153 | android:background="@android:color/transparent" | 154 | android:background="@android:color/transparent" |
154 | android:hint="@string/cos_coupon_share_hint" | 155 | android:hint="@string/cos_coupon_share_hint" |
155 | android:inputType="phone" | 156 | android:inputType="phone" |
156 | - fontPath="fonts/PeridotPE-Regular.ttf" | ||
157 | android:textColor="@color/cos_gray2" | 157 | android:textColor="@color/cos_gray2" |
158 | android:textColorHint="@color/cos_gray2" | 158 | android:textColorHint="@color/cos_gray2" |
159 | android:textSize="16sp" /> | 159 | android:textSize="16sp" /> |
... | @@ -172,7 +172,7 @@ | ... | @@ -172,7 +172,7 @@ |
172 | <LinearLayout | 172 | <LinearLayout |
173 | android:id="@+id/ll_share_button" | 173 | android:id="@+id/ll_share_button" |
174 | android:layout_width="190dp" | 174 | android:layout_width="190dp" |
175 | - android:layout_height="42dp" | 175 | + android:layout_height="55dp" |
176 | android:layout_marginHorizontal="32dp" | 176 | android:layout_marginHorizontal="32dp" |
177 | android:layout_marginTop="64dp" | 177 | android:layout_marginTop="64dp" |
178 | android:background="@drawable/selector_button_green" | 178 | android:background="@drawable/selector_button_green" | ... | ... |
... | @@ -85,7 +85,7 @@ | ... | @@ -85,7 +85,7 @@ |
85 | <LinearLayout | 85 | <LinearLayout |
86 | android:id="@+id/ll_get_gift" | 86 | android:id="@+id/ll_get_gift" |
87 | android:layout_width="160dp" | 87 | android:layout_width="160dp" |
88 | - android:layout_height="42dp" | 88 | + android:layout_height="55dp" |
89 | android:layout_marginTop="27dp" | 89 | android:layout_marginTop="27dp" |
90 | android:background="@drawable/selector_button_green" | 90 | android:background="@drawable/selector_button_green" |
91 | android:gravity="center" | 91 | android:gravity="center" | ... | ... |
... | @@ -119,6 +119,7 @@ | ... | @@ -119,6 +119,7 @@ |
119 | android:layout_height="wrap_content" | 119 | android:layout_height="wrap_content" |
120 | android:layout_below="@+id/tv_expired_title" | 120 | android:layout_below="@+id/tv_expired_title" |
121 | android:layout_marginTop="32dp" | 121 | android:layout_marginTop="32dp" |
122 | + android:scrollbars="none" | ||
122 | android:overScrollMode="never"> | 123 | android:overScrollMode="never"> |
123 | 124 | ||
124 | <LinearLayout | 125 | <LinearLayout |
... | @@ -138,20 +139,19 @@ | ... | @@ -138,20 +139,19 @@ |
138 | android:layout_width="wrap_content" | 139 | android:layout_width="wrap_content" |
139 | android:layout_height="wrap_content" | 140 | android:layout_height="wrap_content" |
140 | android:layout_gravity="center" | 141 | android:layout_gravity="center" |
141 | - android:layout_marginTop="20dp" | ||
142 | android:gravity="center" | 142 | android:gravity="center" |
143 | android:orientation="horizontal" | 143 | android:orientation="horizontal" |
144 | - android:paddingBottom="56dp" | 144 | + android:paddingBottom="8dp" |
145 | android:visibility="gone" | 145 | android:visibility="gone" |
146 | tools:visibility="visible"> | 146 | tools:visibility="visible"> |
147 | 147 | ||
148 | <TextView | 148 | <TextView |
149 | android:id="@+id/tv_expired_more" | 149 | android:id="@+id/tv_expired_more" |
150 | - fontPath="fonts/pf_square_sans_pro_medium.ttf" | 150 | + fontPath="fonts/PeridotPE-Bold.ttf" |
151 | android:layout_width="wrap_content" | 151 | android:layout_width="wrap_content" |
152 | android:layout_height="wrap_content" | 152 | android:layout_height="wrap_content" |
153 | android:text="@string/cos_see_more" | 153 | android:text="@string/cos_see_more" |
154 | - android:textColor="@color/grey" | 154 | + android:textColor="@color/cos_light_black" |
155 | android:textSize="16sp" /> | 155 | android:textSize="16sp" /> |
156 | 156 | ||
157 | <ImageView | 157 | <ImageView |
... | @@ -159,7 +159,8 @@ | ... | @@ -159,7 +159,8 @@ |
159 | android:layout_width="14dp" | 159 | android:layout_width="14dp" |
160 | android:layout_height="14dp" | 160 | android:layout_height="14dp" |
161 | android:layout_marginStart="6dp" | 161 | android:layout_marginStart="6dp" |
162 | - android:src="@drawable/ic_down_dark" /> | 162 | + android:layout_marginTop="3dp" |
163 | + android:src="@drawable/ic_down_dark_new" /> | ||
163 | </LinearLayout> | 164 | </LinearLayout> |
164 | </LinearLayout> | 165 | </LinearLayout> |
165 | </ScrollView> | 166 | </ScrollView> |
... | @@ -167,14 +168,14 @@ | ... | @@ -167,14 +168,14 @@ |
167 | 168 | ||
168 | <TextView | 169 | <TextView |
169 | android:id="@+id/tv_expired_empty" | 170 | android:id="@+id/tv_expired_empty" |
170 | - fontPath="fonts/pf_square_sans_pro_regular.ttf" | 171 | + fontPath="fonts/PeridotPE-Regular.ttf" |
171 | android:layout_width="wrap_content" | 172 | android:layout_width="wrap_content" |
172 | android:layout_height="wrap_content" | 173 | android:layout_height="wrap_content" |
173 | android:layout_below="@+id/tv_expired_title" | 174 | android:layout_below="@+id/tv_expired_title" |
174 | android:layout_centerHorizontal="true" | 175 | android:layout_centerHorizontal="true" |
175 | android:layout_marginTop="56dp" | 176 | android:layout_marginTop="56dp" |
176 | android:text="@string/cos_empty_expired_coupons" | 177 | android:text="@string/cos_empty_expired_coupons" |
177 | - android:textColor="@color/cos_light_grey2" | 178 | + android:textColor="@color/cos_light_black" |
178 | android:textSize="16sp" | 179 | android:textSize="16sp" |
179 | android:visibility="gone" /> | 180 | android:visibility="gone" /> |
180 | </RelativeLayout> | 181 | </RelativeLayout> |
... | @@ -183,25 +184,29 @@ | ... | @@ -183,25 +184,29 @@ |
183 | android:id="@+id/rl_shared_view" | 184 | android:id="@+id/rl_shared_view" |
184 | android:layout_width="match_parent" | 185 | android:layout_width="match_parent" |
185 | android:layout_height="wrap_content" | 186 | android:layout_height="wrap_content" |
187 | + android:background="@drawable/shape_cos_white_border" | ||
186 | android:layout_below="@+id/iv_gift_circle_logo" | 188 | android:layout_below="@+id/iv_gift_circle_logo" |
187 | android:layout_marginTop="32dp" | 189 | android:layout_marginTop="32dp" |
190 | + android:layout_marginHorizontal="12dp" | ||
191 | + android:paddingHorizontal="16dp" | ||
192 | + android:paddingVertical="16dp" | ||
188 | android:visibility="gone"> | 193 | android:visibility="gone"> |
189 | 194 | ||
190 | <TextView | 195 | <TextView |
191 | android:id="@+id/tv_shared_title" | 196 | android:id="@+id/tv_shared_title" |
192 | - fontPath="fonts/pf_square_sans_pro_medium.ttf" | 197 | + fontPath="fonts/BTCosmo-Bold.ttf" |
193 | android:layout_width="wrap_content" | 198 | android:layout_width="wrap_content" |
194 | android:layout_height="wrap_content" | 199 | android:layout_height="wrap_content" |
195 | - android:layout_centerHorizontal="true" | ||
196 | android:text="@string/cos_analysis2" | 200 | android:text="@string/cos_analysis2" |
197 | - android:textColor="@color/cos_blue_dark" | 201 | + android:textColor="@color/cos_light_black" |
198 | - android:textSize="16sp" /> | 202 | + android:textSize="21sp" /> |
199 | 203 | ||
200 | <ScrollView | 204 | <ScrollView |
201 | android:layout_width="match_parent" | 205 | android:layout_width="match_parent" |
202 | android:layout_height="wrap_content" | 206 | android:layout_height="wrap_content" |
203 | android:layout_below="@+id/tv_shared_title" | 207 | android:layout_below="@+id/tv_shared_title" |
204 | android:layout_marginTop="24dp" | 208 | android:layout_marginTop="24dp" |
209 | + android:scrollbars="none" | ||
205 | android:overScrollMode="never"> | 210 | android:overScrollMode="never"> |
206 | 211 | ||
207 | <LinearLayout | 212 | <LinearLayout |
... | @@ -213,7 +218,6 @@ | ... | @@ -213,7 +218,6 @@ |
213 | android:id="@+id/rv_shared_coupons" | 218 | android:id="@+id/rv_shared_coupons" |
214 | android:layout_width="match_parent" | 219 | android:layout_width="match_parent" |
215 | android:layout_height="wrap_content" | 220 | android:layout_height="wrap_content" |
216 | - android:layout_marginHorizontal="8dp" | ||
217 | android:orientation="vertical" | 221 | android:orientation="vertical" |
218 | android:overScrollMode="never" /> | 222 | android:overScrollMode="never" /> |
219 | 223 | ||
... | @@ -222,28 +226,28 @@ | ... | @@ -222,28 +226,28 @@ |
222 | android:layout_width="wrap_content" | 226 | android:layout_width="wrap_content" |
223 | android:layout_height="wrap_content" | 227 | android:layout_height="wrap_content" |
224 | android:layout_gravity="center" | 228 | android:layout_gravity="center" |
225 | - android:layout_marginTop="20dp" | ||
226 | android:gravity="center" | 229 | android:gravity="center" |
227 | android:orientation="horizontal" | 230 | android:orientation="horizontal" |
228 | - android:paddingBottom="56dp" | 231 | + android:paddingBottom="8dp" |
229 | android:visibility="gone" | 232 | android:visibility="gone" |
230 | tools:visibility="visible"> | 233 | tools:visibility="visible"> |
231 | 234 | ||
232 | <TextView | 235 | <TextView |
233 | android:id="@+id/tv_shared_more" | 236 | android:id="@+id/tv_shared_more" |
234 | - fontPath="fonts/pf_square_sans_pro_medium.ttf" | 237 | + fontPath="fonts/PeridotPE-Bold.ttf" |
235 | android:layout_width="wrap_content" | 238 | android:layout_width="wrap_content" |
236 | android:layout_height="wrap_content" | 239 | android:layout_height="wrap_content" |
237 | android:text="@string/cos_see_more" | 240 | android:text="@string/cos_see_more" |
238 | - android:textColor="@color/grey" | 241 | + android:textColor="@color/cos_light_black" |
239 | android:textSize="16sp" /> | 242 | android:textSize="16sp" /> |
240 | 243 | ||
241 | <ImageView | 244 | <ImageView |
242 | android:id="@+id/iv_shared_more_arrow" | 245 | android:id="@+id/iv_shared_more_arrow" |
243 | android:layout_width="14dp" | 246 | android:layout_width="14dp" |
244 | android:layout_height="14dp" | 247 | android:layout_height="14dp" |
248 | + android:layout_marginTop="3dp" | ||
245 | android:layout_marginStart="6dp" | 249 | android:layout_marginStart="6dp" |
246 | - android:src="@drawable/ic_down_dark" /> | 250 | + android:src="@drawable/ic_down_dark_new" /> |
247 | </LinearLayout> | 251 | </LinearLayout> |
248 | </LinearLayout> | 252 | </LinearLayout> |
249 | </ScrollView> | 253 | </ScrollView> | ... | ... |
... | @@ -41,6 +41,7 @@ | ... | @@ -41,6 +41,7 @@ |
41 | android:layout_height="match_parent" | 41 | android:layout_height="match_parent" |
42 | android:layout_below="@+id/cl_loyalty_wallet_header" | 42 | android:layout_below="@+id/cl_loyalty_wallet_header" |
43 | android:fillViewport="true" | 43 | android:fillViewport="true" |
44 | + android:scrollbars="none" | ||
44 | android:overScrollMode="never"> | 45 | android:overScrollMode="never"> |
45 | 46 | ||
46 | <LinearLayout | 47 | <LinearLayout |
... | @@ -61,12 +62,12 @@ | ... | @@ -61,12 +62,12 @@ |
61 | android:id="@+id/iv_profile_photo" | 62 | android:id="@+id/iv_profile_photo" |
62 | android:layout_width="70dp" | 63 | android:layout_width="70dp" |
63 | android:layout_height="70dp" | 64 | android:layout_height="70dp" |
64 | - tools:background="@color/cos_cyan3" | ||
65 | android:src="@drawable/ic_default_photo" | 65 | android:src="@drawable/ic_default_photo" |
66 | app:layout_constraintBottom_toBottomOf="parent" | 66 | app:layout_constraintBottom_toBottomOf="parent" |
67 | app:layout_constraintLeft_toLeftOf="parent" | 67 | app:layout_constraintLeft_toLeftOf="parent" |
68 | app:layout_constraintTop_toTopOf="parent" | 68 | app:layout_constraintTop_toTopOf="parent" |
69 | - app:shapeAppearanceOverlay="@style/ShapeAppearanceProfileImage" /> | 69 | + app:shapeAppearanceOverlay="@style/ShapeAppearanceProfileImage" |
70 | + tools:background="@color/cos_cyan3" /> | ||
70 | 71 | ||
71 | <TextView | 72 | <TextView |
72 | android:id="@+id/tv_profile_name" | 73 | android:id="@+id/tv_profile_name" |
... | @@ -76,7 +77,7 @@ | ... | @@ -76,7 +77,7 @@ |
76 | android:layout_marginVertical="6dp" | 77 | android:layout_marginVertical="6dp" |
77 | android:maxLines="1" | 78 | android:maxLines="1" |
78 | android:textColor="@color/cos_light_black" | 79 | android:textColor="@color/cos_light_black" |
79 | - android:textSize="15sp" | 80 | + android:textSize="18sp" |
80 | tools:text="Test Name" /> | 81 | tools:text="Test Name" /> |
81 | 82 | ||
82 | <LinearLayout | 83 | <LinearLayout |
... | @@ -136,21 +137,21 @@ | ... | @@ -136,21 +137,21 @@ |
136 | android:layout_width="match_parent" | 137 | android:layout_width="match_parent" |
137 | android:layout_height="wrap_content" | 138 | android:layout_height="wrap_content" |
138 | android:layout_marginHorizontal="8dp" | 139 | android:layout_marginHorizontal="8dp" |
139 | - android:layout_marginTop="32dp"> | 140 | + android:layout_marginTop="24dp"> |
140 | 141 | ||
141 | <androidx.constraintlayout.widget.Guideline | 142 | <androidx.constraintlayout.widget.Guideline |
142 | android:id="@+id/gl_vertical_06_cos" | 143 | android:id="@+id/gl_vertical_06_cos" |
143 | android:layout_width="wrap_content" | 144 | android:layout_width="wrap_content" |
144 | android:layout_height="match_parent" | 145 | android:layout_height="match_parent" |
145 | android:orientation="vertical" | 146 | android:orientation="vertical" |
146 | - app:layout_constraintGuide_percent="0.09" /> | 147 | + app:layout_constraintGuide_begin="24dp" /> |
147 | 148 | ||
148 | <androidx.constraintlayout.widget.Guideline | 149 | <androidx.constraintlayout.widget.Guideline |
149 | android:id="@+id/gl_horizontal_50_cos" | 150 | android:id="@+id/gl_horizontal_50_cos" |
150 | android:layout_width="wrap_content" | 151 | android:layout_width="wrap_content" |
151 | android:layout_height="match_parent" | 152 | android:layout_height="match_parent" |
152 | android:orientation="horizontal" | 153 | android:orientation="horizontal" |
153 | - app:layout_constraintGuide_percent="0.56" /> | 154 | + app:layout_constraintGuide_percent="0.64" /> |
154 | 155 | ||
155 | <androidx.constraintlayout.widget.ConstraintLayout | 156 | <androidx.constraintlayout.widget.ConstraintLayout |
156 | android:id="@+id/cl_deals_win_inner_cos" | 157 | android:id="@+id/cl_deals_win_inner_cos" |
... | @@ -167,15 +168,15 @@ | ... | @@ -167,15 +168,15 @@ |
167 | android:layout_width="wrap_content" | 168 | android:layout_width="wrap_content" |
168 | android:layout_height="match_parent" | 169 | android:layout_height="match_parent" |
169 | android:orientation="vertical" | 170 | android:orientation="vertical" |
170 | - app:layout_constraintGuide_percent="0.16" /> | 171 | + app:layout_constraintGuide_percent="0.17" /> |
171 | 172 | ||
172 | <TextView | 173 | <TextView |
173 | android:id="@+id/tv_deals_value_all" | 174 | android:id="@+id/tv_deals_value_all" |
174 | fontPath="fonts/PeridotPE-Regular.ttf" | 175 | fontPath="fonts/PeridotPE-Regular.ttf" |
175 | - android:includeFontPadding="false" | ||
176 | android:layout_width="0dp" | 176 | android:layout_width="0dp" |
177 | android:layout_height="wrap_content" | 177 | android:layout_height="wrap_content" |
178 | android:layout_marginEnd="16dp" | 178 | android:layout_marginEnd="16dp" |
179 | + android:includeFontPadding="false" | ||
179 | android:text="@string/cos_deals_win_title_cos" | 180 | android:text="@string/cos_deals_win_title_cos" |
180 | android:textColor="@color/cos_light_black" | 181 | android:textColor="@color/cos_light_black" |
181 | android:textSize="16sp" | 182 | android:textSize="16sp" |
... | @@ -190,10 +191,9 @@ | ... | @@ -190,10 +191,9 @@ |
190 | android:layout_width="80dp" | 191 | android:layout_width="80dp" |
191 | android:layout_height="80dp" | 192 | android:layout_height="80dp" |
192 | android:layout_marginVertical="4dp" | 193 | android:layout_marginVertical="4dp" |
193 | - android:src="@drawable/ic_deals_polygon" | 194 | + android:src="@drawable/ic_deals_polygon_new" |
194 | app:layout_constraintBottom_toBottomOf="parent" | 195 | app:layout_constraintBottom_toBottomOf="parent" |
195 | - app:layout_constraintEnd_toEndOf="@+id/gl_vertical_06_cos" | 196 | + app:layout_constraintStart_toStartOf="parent" |
196 | - app:layout_constraintStart_toStartOf="@+id/gl_vertical_06_cos" | ||
197 | app:layout_constraintTop_toTopOf="parent" /> | 197 | app:layout_constraintTop_toTopOf="parent" /> |
198 | 198 | ||
199 | <TextView | 199 | <TextView |
... | @@ -201,8 +201,9 @@ | ... | @@ -201,8 +201,9 @@ |
201 | fontPath="fonts/PeridotPE-Bold.ttf" | 201 | fontPath="fonts/PeridotPE-Bold.ttf" |
202 | android:layout_width="wrap_content" | 202 | android:layout_width="wrap_content" |
203 | android:layout_height="wrap_content" | 203 | android:layout_height="wrap_content" |
204 | + android:includeFontPadding="false" | ||
204 | android:textColor="@color/cos_light_black" | 205 | android:textColor="@color/cos_light_black" |
205 | - android:textSize="12sp" | 206 | + android:textSize="14sp" |
206 | app:layout_constraintEnd_toEndOf="@+id/iv_deals_logo" | 207 | app:layout_constraintEnd_toEndOf="@+id/iv_deals_logo" |
207 | app:layout_constraintStart_toStartOf="@+id/iv_deals_logo" | 208 | app:layout_constraintStart_toStartOf="@+id/iv_deals_logo" |
208 | app:layout_constraintTop_toBottomOf="@+id/gl_horizontal_50_cos" | 209 | app:layout_constraintTop_toBottomOf="@+id/gl_horizontal_50_cos" |
... | @@ -215,21 +216,21 @@ | ... | @@ -215,21 +216,21 @@ |
215 | android:layout_width="match_parent" | 216 | android:layout_width="match_parent" |
216 | android:layout_height="wrap_content" | 217 | android:layout_height="wrap_content" |
217 | android:layout_marginHorizontal="8dp" | 218 | android:layout_marginHorizontal="8dp" |
218 | - android:layout_marginTop="32dp"> | 219 | + android:layout_marginTop="12dp"> |
219 | 220 | ||
220 | <androidx.constraintlayout.widget.Guideline | 221 | <androidx.constraintlayout.widget.Guideline |
221 | android:id="@+id/gl_vertical_06" | 222 | android:id="@+id/gl_vertical_06" |
222 | android:layout_width="wrap_content" | 223 | android:layout_width="wrap_content" |
223 | android:layout_height="match_parent" | 224 | android:layout_height="match_parent" |
224 | android:orientation="vertical" | 225 | android:orientation="vertical" |
225 | - app:layout_constraintGuide_percent="0.09" /> | 226 | + app:layout_constraintGuide_begin="24dp" /> |
226 | 227 | ||
227 | <androidx.constraintlayout.widget.Guideline | 228 | <androidx.constraintlayout.widget.Guideline |
228 | android:id="@+id/gl_horizontal_50" | 229 | android:id="@+id/gl_horizontal_50" |
229 | android:layout_width="wrap_content" | 230 | android:layout_width="wrap_content" |
230 | android:layout_height="match_parent" | 231 | android:layout_height="match_parent" |
231 | android:orientation="horizontal" | 232 | android:orientation="horizontal" |
232 | - app:layout_constraintGuide_percent="0.56" /> | 233 | + app:layout_constraintGuide_percent="0.64" /> |
233 | 234 | ||
234 | <androidx.constraintlayout.widget.ConstraintLayout | 235 | <androidx.constraintlayout.widget.ConstraintLayout |
235 | android:id="@+id/cl_deals_win_inner" | 236 | android:id="@+id/cl_deals_win_inner" |
... | @@ -246,15 +247,15 @@ | ... | @@ -246,15 +247,15 @@ |
246 | android:layout_width="wrap_content" | 247 | android:layout_width="wrap_content" |
247 | android:layout_height="match_parent" | 248 | android:layout_height="match_parent" |
248 | android:orientation="vertical" | 249 | android:orientation="vertical" |
249 | - app:layout_constraintGuide_percent="0.16" /> | 250 | + app:layout_constraintGuide_percent="0.17" /> |
250 | 251 | ||
251 | <TextView | 252 | <TextView |
252 | android:id="@+id/tv_gifts_value_all" | 253 | android:id="@+id/tv_gifts_value_all" |
253 | fontPath="fonts/PeridotPE-Regular.ttf" | 254 | fontPath="fonts/PeridotPE-Regular.ttf" |
254 | - android:includeFontPadding="false" | ||
255 | android:layout_width="0dp" | 255 | android:layout_width="0dp" |
256 | android:layout_height="wrap_content" | 256 | android:layout_height="wrap_content" |
257 | android:layout_marginEnd="16dp" | 257 | android:layout_marginEnd="16dp" |
258 | + android:includeFontPadding="false" | ||
258 | android:text="@string/cos_deals_win_title" | 259 | android:text="@string/cos_deals_win_title" |
259 | android:textColor="@color/cos_light_black" | 260 | android:textColor="@color/cos_light_black" |
260 | android:textSize="16sp" | 261 | android:textSize="16sp" |
... | @@ -269,10 +270,9 @@ | ... | @@ -269,10 +270,9 @@ |
269 | android:layout_width="80dp" | 270 | android:layout_width="80dp" |
270 | android:layout_height="80dp" | 271 | android:layout_height="80dp" |
271 | android:layout_marginVertical="4dp" | 272 | android:layout_marginVertical="4dp" |
272 | - android:src="@drawable/ic_gifts_polygon" | 273 | + android:src="@drawable/ic_gifts_polygon_new" |
273 | app:layout_constraintBottom_toBottomOf="parent" | 274 | app:layout_constraintBottom_toBottomOf="parent" |
274 | - app:layout_constraintEnd_toEndOf="@+id/gl_vertical_06" | 275 | + app:layout_constraintStart_toStartOf="parent" |
275 | - app:layout_constraintStart_toStartOf="@+id/gl_vertical_06" | ||
276 | app:layout_constraintTop_toTopOf="parent" /> | 276 | app:layout_constraintTop_toTopOf="parent" /> |
277 | 277 | ||
278 | <TextView | 278 | <TextView |
... | @@ -280,8 +280,9 @@ | ... | @@ -280,8 +280,9 @@ |
280 | fontPath="fonts/PeridotPE-Bold.ttf" | 280 | fontPath="fonts/PeridotPE-Bold.ttf" |
281 | android:layout_width="wrap_content" | 281 | android:layout_width="wrap_content" |
282 | android:layout_height="wrap_content" | 282 | android:layout_height="wrap_content" |
283 | + android:includeFontPadding="false" | ||
283 | android:textColor="@color/cos_light_black" | 284 | android:textColor="@color/cos_light_black" |
284 | - android:textSize="12sp" | 285 | + android:textSize="14sp" |
285 | app:layout_constraintEnd_toEndOf="@+id/iv_gifts_logo" | 286 | app:layout_constraintEnd_toEndOf="@+id/iv_gifts_logo" |
286 | app:layout_constraintStart_toStartOf="@+id/iv_gifts_logo" | 287 | app:layout_constraintStart_toStartOf="@+id/iv_gifts_logo" |
287 | app:layout_constraintTop_toBottomOf="@+id/gl_horizontal_50" | 288 | app:layout_constraintTop_toBottomOf="@+id/gl_horizontal_50" |
... | @@ -289,13 +290,21 @@ | ... | @@ -289,13 +290,21 @@ |
289 | 290 | ||
290 | </androidx.constraintlayout.widget.ConstraintLayout> | 291 | </androidx.constraintlayout.widget.ConstraintLayout> |
291 | 292 | ||
293 | + <LinearLayout | ||
294 | + android:id="@+id/ll_mygifts" | ||
295 | + android:layout_width="match_parent" | ||
296 | + android:layout_height="wrap_content" | ||
297 | + android:layout_marginTop="24dp" | ||
298 | + android:orientation="vertical" | ||
299 | + android:visibility="gone" | ||
300 | + tools:visibility="visible"> | ||
301 | + | ||
292 | <ImageView | 302 | <ImageView |
293 | android:id="@+id/dfy_logo" | 303 | android:id="@+id/dfy_logo" |
294 | android:layout_width="220dp" | 304 | android:layout_width="220dp" |
295 | android:layout_height="30dp" | 305 | android:layout_height="30dp" |
296 | android:layout_gravity="start" | 306 | android:layout_gravity="start" |
297 | android:layout_marginHorizontal="16dp" | 307 | android:layout_marginHorizontal="16dp" |
298 | - android:layout_marginTop="48dp" | ||
299 | android:src="@drawable/ic_deals_horizontal" /> | 308 | android:src="@drawable/ic_deals_horizontal" /> |
300 | 309 | ||
301 | <androidx.constraintlayout.widget.ConstraintLayout | 310 | <androidx.constraintlayout.widget.ConstraintLayout |
... | @@ -371,11 +380,19 @@ | ... | @@ -371,11 +380,19 @@ |
371 | android:layout_height="86dp" | 380 | android:layout_height="86dp" |
372 | android:layout_marginVertical="4dp" | 381 | android:layout_marginVertical="4dp" |
373 | android:layout_marginEnd="32dp" | 382 | android:layout_marginEnd="32dp" |
374 | - android:src="@drawable/ic_deals_circle" | 383 | + android:src="@drawable/ic_deals_new" |
375 | app:layout_constraintBottom_toBottomOf="parent" | 384 | app:layout_constraintBottom_toBottomOf="parent" |
376 | app:layout_constraintEnd_toEndOf="parent" | 385 | app:layout_constraintEnd_toEndOf="parent" |
377 | app:layout_constraintTop_toTopOf="parent" /> | 386 | app:layout_constraintTop_toTopOf="parent" /> |
378 | </androidx.constraintlayout.widget.ConstraintLayout> | 387 | </androidx.constraintlayout.widget.ConstraintLayout> |
388 | + </LinearLayout> | ||
389 | + | ||
390 | + <LinearLayout | ||
391 | + android:id="@+id/ll_gifts_view" | ||
392 | + android:layout_width="match_parent" | ||
393 | + android:layout_height="wrap_content" | ||
394 | + android:layout_marginTop="24dp" | ||
395 | + android:orientation="vertical"> | ||
379 | 396 | ||
380 | <TextView | 397 | <TextView |
381 | android:id="@+id/tv_active_coupons_header" | 398 | android:id="@+id/tv_active_coupons_header" |
... | @@ -384,7 +401,6 @@ | ... | @@ -384,7 +401,6 @@ |
384 | android:layout_height="wrap_content" | 401 | android:layout_height="wrap_content" |
385 | android:layout_gravity="start" | 402 | android:layout_gravity="start" |
386 | android:layout_marginHorizontal="16dp" | 403 | android:layout_marginHorizontal="16dp" |
387 | - android:layout_marginTop="48dp" | ||
388 | android:layout_marginBottom="10dp" | 404 | android:layout_marginBottom="10dp" |
389 | android:text="@string/cos_gifts_title" | 405 | android:text="@string/cos_gifts_title" |
390 | android:textColor="@color/cos_light_black" | 406 | android:textColor="@color/cos_light_black" |
... | @@ -424,6 +440,7 @@ | ... | @@ -424,6 +440,7 @@ |
424 | android:textSize="16sp" /> | 440 | android:textSize="16sp" /> |
425 | </LinearLayout> | 441 | </LinearLayout> |
426 | </LinearLayout> | 442 | </LinearLayout> |
443 | + </LinearLayout> | ||
427 | </RelativeLayout> | 444 | </RelativeLayout> |
428 | </LinearLayout> | 445 | </LinearLayout> |
429 | </ScrollView> | 446 | </ScrollView> | ... | ... |
... | @@ -150,7 +150,7 @@ | ... | @@ -150,7 +150,7 @@ |
150 | <LinearLayout | 150 | <LinearLayout |
151 | android:id="@+id/ll_activate_button" | 151 | android:id="@+id/ll_activate_button" |
152 | android:layout_width="160dp" | 152 | android:layout_width="160dp" |
153 | - android:layout_height="42dp" | 153 | + android:layout_height="55dp" |
154 | android:layout_below="@+id/textView13" | 154 | android:layout_below="@+id/textView13" |
155 | android:layout_centerHorizontal="true" | 155 | android:layout_centerHorizontal="true" |
156 | android:layout_marginTop="44dp" | 156 | android:layout_marginTop="44dp" | ... | ... |
... | @@ -7,10 +7,10 @@ | ... | @@ -7,10 +7,10 @@ |
7 | 7 | ||
8 | <TextView | 8 | <TextView |
9 | android:id="@+id/tv_expired_coupons_date" | 9 | android:id="@+id/tv_expired_coupons_date" |
10 | - fontPath="fonts/pf_square_sans_pro_bold.ttf" | 10 | + fontPath="fonts/PeridotPE-Bold.ttf" |
11 | android:layout_width="wrap_content" | 11 | android:layout_width="wrap_content" |
12 | android:layout_height="wrap_content" | 12 | android:layout_height="wrap_content" |
13 | - android:textColor="@color/cos_blue_dark2" | 13 | + android:textColor="@color/cos_light_black" |
14 | android:textSize="13sp" | 14 | android:textSize="13sp" |
15 | tools:text="05/05/2022" /> | 15 | tools:text="05/05/2022" /> |
16 | 16 | ||
... | @@ -42,36 +42,36 @@ | ... | @@ -42,36 +42,36 @@ |
42 | 42 | ||
43 | <TextView | 43 | <TextView |
44 | android:id="@+id/tv_expired_coupons_title" | 44 | android:id="@+id/tv_expired_coupons_title" |
45 | - fontPath="fonts/pf_square_sans_pro_medium.ttf" | 45 | + fontPath="fonts/PeridotPE-Regular.ttf" |
46 | android:layout_width="wrap_content" | 46 | android:layout_width="wrap_content" |
47 | android:layout_height="wrap_content" | 47 | android:layout_height="wrap_content" |
48 | android:layout_weight="0.5" | 48 | android:layout_weight="0.5" |
49 | android:maxLines="2" | 49 | android:maxLines="2" |
50 | - android:textColor="@color/cos_blue_dark2" | 50 | + android:textColor="@color/cos_light_black" |
51 | - android:textSize="16sp" | 51 | + android:textSize="18sp" |
52 | tools:text="Box" /> | 52 | tools:text="Box" /> |
53 | 53 | ||
54 | <TextView | 54 | <TextView |
55 | android:id="@+id/tv_expired_coupons_value" | 55 | android:id="@+id/tv_expired_coupons_value" |
56 | - fontPath="fonts/pf_square_sans_pro_bold.ttf" | 56 | + fontPath="fonts/PeridotPE-Bold.ttf" |
57 | android:layout_width="wrap_content" | 57 | android:layout_width="wrap_content" |
58 | android:layout_height="wrap_content" | 58 | android:layout_height="wrap_content" |
59 | android:layout_weight="0.5" | 59 | android:layout_weight="0.5" |
60 | android:gravity="end" | 60 | android:gravity="end" |
61 | - android:textColor="@color/cos_blue_dark2" | 61 | + android:textColor="@color/cos_light_black" |
62 | - android:textSize="16sp" | 62 | + android:textSize="18sp" |
63 | tools:text="4$" /> | 63 | tools:text="4$" /> |
64 | </LinearLayout> | 64 | </LinearLayout> |
65 | 65 | ||
66 | <TextView | 66 | <TextView |
67 | android:id="@+id/tv_expired_coupons_label" | 67 | android:id="@+id/tv_expired_coupons_label" |
68 | - fontPath="fonts/pf_square_sans_pro_regular.ttf" | 68 | + fontPath="fonts/PeridotPE-Regular.ttf" |
69 | android:layout_width="wrap_content" | 69 | android:layout_width="wrap_content" |
70 | android:layout_height="wrap_content" | 70 | android:layout_height="wrap_content" |
71 | android:layout_below="@+id/ll_expired_info_view" | 71 | android:layout_below="@+id/ll_expired_info_view" |
72 | android:text="@string/cos_expired_coupon_label" | 72 | android:text="@string/cos_expired_coupon_label" |
73 | - android:textColor="@color/cos_light_grey2" | 73 | + android:textColor="@color/cos_gray" |
74 | - android:textSize="16sp" /> | 74 | + android:textSize="15sp" /> |
75 | </LinearLayout> | 75 | </LinearLayout> |
76 | </LinearLayout> | 76 | </LinearLayout> |
77 | </RelativeLayout> | 77 | </RelativeLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -7,10 +7,10 @@ | ... | @@ -7,10 +7,10 @@ |
7 | 7 | ||
8 | <TextView | 8 | <TextView |
9 | android:id="@+id/tv_shared_coupons_date" | 9 | android:id="@+id/tv_shared_coupons_date" |
10 | - fontPath="fonts/pf_square_sans_pro_bold.ttf" | 10 | + fontPath="fonts/PeridotPE-Bold.ttf" |
11 | android:layout_width="wrap_content" | 11 | android:layout_width="wrap_content" |
12 | android:layout_height="wrap_content" | 12 | android:layout_height="wrap_content" |
13 | - android:textColor="@color/cos_blue_dark2" | 13 | + android:textColor="@color/cos_light_black" |
14 | android:textSize="13sp" | 14 | android:textSize="13sp" |
15 | tools:text="05/05/2022" /> | 15 | tools:text="05/05/2022" /> |
16 | 16 | ||
... | @@ -42,43 +42,43 @@ | ... | @@ -42,43 +42,43 @@ |
42 | 42 | ||
43 | <TextView | 43 | <TextView |
44 | android:id="@+id/tv_shared_coupons_title" | 44 | android:id="@+id/tv_shared_coupons_title" |
45 | - fontPath="fonts/pf_square_sans_pro_medium.ttf" | 45 | + fontPath="fonts/PeridotPE-Regular.ttf" |
46 | android:layout_width="wrap_content" | 46 | android:layout_width="wrap_content" |
47 | android:layout_height="wrap_content" | 47 | android:layout_height="wrap_content" |
48 | android:layout_weight="0.5" | 48 | android:layout_weight="0.5" |
49 | android:maxLines="2" | 49 | android:maxLines="2" |
50 | - android:textColor="@color/cos_blue_dark2" | 50 | + android:textColor="@color/cos_light_black" |
51 | - android:textSize="16sp" | 51 | + android:textSize="18sp" |
52 | tools:text="Box" /> | 52 | tools:text="Box" /> |
53 | 53 | ||
54 | <TextView | 54 | <TextView |
55 | android:id="@+id/tv_shared_coupons_value" | 55 | android:id="@+id/tv_shared_coupons_value" |
56 | - fontPath="fonts/pf_square_sans_pro_bold.ttf" | 56 | + fontPath="fonts/PeridotPE-Bold.ttf" |
57 | android:layout_width="wrap_content" | 57 | android:layout_width="wrap_content" |
58 | android:layout_height="wrap_content" | 58 | android:layout_height="wrap_content" |
59 | android:layout_weight="0.5" | 59 | android:layout_weight="0.5" |
60 | android:gravity="end" | 60 | android:gravity="end" |
61 | - android:textColor="@color/cos_blue_dark2" | 61 | + android:textColor="@color/cos_light_black" |
62 | - android:textSize="16sp" | 62 | + android:textSize="18sp" |
63 | tools:text="4$" /> | 63 | tools:text="4$" /> |
64 | </LinearLayout> | 64 | </LinearLayout> |
65 | 65 | ||
66 | <TextView | 66 | <TextView |
67 | android:id="@+id/tv_shared_coupons_label" | 67 | android:id="@+id/tv_shared_coupons_label" |
68 | - fontPath="fonts/pf_square_sans_pro_regular.ttf" | 68 | + fontPath="fonts/PeridotPE-Regular.ttf" |
69 | android:layout_width="wrap_content" | 69 | android:layout_width="wrap_content" |
70 | android:layout_height="wrap_content" | 70 | android:layout_height="wrap_content" |
71 | - android:textColor="@color/cos_light_grey2" | 71 | + android:textColor="@color/cos_gray" |
72 | - android:textSize="16sp" | 72 | + android:textSize="15sp" |
73 | tools:text="@string/cos_expired_coupon_label" /> | 73 | tools:text="@string/cos_expired_coupon_label" /> |
74 | 74 | ||
75 | <TextView | 75 | <TextView |
76 | android:id="@+id/tv_shared_coupons_phone" | 76 | android:id="@+id/tv_shared_coupons_phone" |
77 | - fontPath="fonts/pf_square_sans_pro_regular.ttf" | 77 | + fontPath="fonts/PeridotPE-Regular.ttf" |
78 | android:layout_width="wrap_content" | 78 | android:layout_width="wrap_content" |
79 | android:layout_height="wrap_content" | 79 | android:layout_height="wrap_content" |
80 | - android:textColor="@color/cos_light_grey2" | 80 | + android:textColor="@color/cos_gray" |
81 | - android:textSize="16sp" | 81 | + android:textSize="15sp" |
82 | tools:text="@string/cos_expired_coupon_label" /> | 82 | tools:text="@string/cos_expired_coupon_label" /> |
83 | </LinearLayout> | 83 | </LinearLayout> |
84 | </LinearLayout> | 84 | </LinearLayout> | ... | ... |
-
Please register or login to post a comment