Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2023-04-12 15:22:15 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
705e8a16248d808d141fa7347f977dd3234a2420
705e8a16
1 parent
e68e3841
redesign part3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
70 additions
and
67 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyAnalysisActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyWallet.java
warply_android_sdk/src/main/java/ly/warp/sdk/views/adapters/SharedCouponAdapter.java
warply_android_sdk/src/main/res/drawable-xhdpi/ic_deals_new.png
warply_android_sdk/src/main/res/drawable-xhdpi/ic_deals_polygon_new.png
warply_android_sdk/src/main/res/drawable-xhdpi/ic_gift_circle.png
warply_android_sdk/src/main/res/drawable-xhdpi/ic_gifts_polygon_new.png
warply_android_sdk/src/main/res/layout/activity_contextual.xml
warply_android_sdk/src/main/res/layout/activity_coupon_info.xml
warply_android_sdk/src/main/res/layout/activity_coupon_share.xml
warply_android_sdk/src/main/res/layout/activity_couponset_info.xml
warply_android_sdk/src/main/res/layout/activity_loyalty_analysis.xml
warply_android_sdk/src/main/res/layout/activity_loyalty_wallet.xml
warply_android_sdk/src/main/res/layout/activity_telco.xml
warply_android_sdk/src/main/res/layout/expired_coupon_layout.xml
warply_android_sdk/src/main/res/layout/shared_coupon_layout.xml
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyAnalysisActivity.java
View file @
705e8a1
...
...
@@ -257,10 +257,10 @@ public class LoyaltyAnalysisActivity extends Activity implements View.OnClickLis
CalligraphyTypefaceSpan
typefaceBoldSpan
=
new
CalligraphyTypefaceSpan
(
TypefaceUtils
.
load
(
getAssets
(),
"fonts/PeridotPE-Bold.ttf"
));
CalligraphyTypefaceSpan
typefaceBoldSpan2
=
new
CalligraphyTypefaceSpan
(
TypefaceUtils
.
load
(
getAssets
(),
"fonts/PeridotPE-Bold.ttf"
));
sBuilder
.
setSpan
(
typefaceRegularSpan
,
0
,
getString
(
R
.
string
.
cos_wallet_text3
).
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
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
);
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
);
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
);
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
);
sBuilder
.
setSpan
(
typefaceBoldSpan
,
getString
(
R
.
string
.
cos_wallet_text3
).
length
(),
getString
(
R
.
string
.
cos_wallet_text3
).
length
()
+
badgeValue
.
length
()
+
1
,
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
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
);
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
);
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
);
mTvCouponsValueAll
.
setText
(
sBuilder
,
TextView
.
BufferType
.
SPANNABLE
);
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyWallet.java
View file @
705e8a1
...
...
@@ -70,7 +70,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
mTvActiveTitle
,
mTvActiveCouponsHeader
;
private
ConstraintLayout
mClDealsBanner
,
mClDealsView
,
mClGiftsBanner
,
mClToolbar
;
private
LinearLayout
mLlQuestionnaire
,
mLlUserBadge
,
mLlEmptyWallet
;
private
LinearLayout
mLlQuestionnaire
,
mLlUserBadge
,
mLlEmptyWallet
,
mLlDeals
,
mLlGifts
;
private
FlowLayout
mLlActiveCodesView
;
private
float
couponDfyValue
=
0.0f
;
private
RecyclerView
mRecyclerCoupons
;
...
...
@@ -105,6 +105,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
mTvActiveDate
=
findViewById
(
R
.
id
.
tv_active_deals_date_text
);
mIvDealsLogo
=
findViewById
(
R
.
id
.
dfy_logo
);
mClDealsView
=
findViewById
(
R
.
id
.
cl_mygifts
);
mLlDeals
=
findViewById
(
R
.
id
.
ll_mygifts
);
mIvProfilePhoto
=
findViewById
(
R
.
id
.
iv_profile_photo
);
mTvActiveTitle
=
findViewById
(
R
.
id
.
tv_active_gifts
);
mTvActiveCouponsHeader
=
findViewById
(
R
.
id
.
tv_active_coupons_header
);
...
...
@@ -113,6 +114,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
mScActiveCodes
=
findViewById
(
R
.
id
.
sv_active_deals_codes_view
);
mSvLoyaltyWallet
=
findViewById
(
R
.
id
.
sv_loyalty_wallet
);
mClToolbar
=
findViewById
(
R
.
id
.
cl_loyalty_wallet_header
);
mLlGifts
=
findViewById
(
R
.
id
.
ll_gifts_view
);
if
(
WarplyManagerHelper
.
getActiveDFYCoupons
()
!=
null
)
{
Collections
.
sort
(
WarplyManagerHelper
.
getActiveDFYCoupons
(),
new
Comparator
<
ActiveDFYCouponModel
>()
{
...
...
@@ -307,8 +309,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
.
subscribe
();
mAdapterCoupons
.
notifyDataSetChanged
();
}
else
{
mRecyclerCoupons
.
setVisibility
(
View
.
GONE
);
mTvActiveCouponsHeader
.
setVisibility
(
View
.
GONE
);
mLlGifts
.
setVisibility
(
View
.
GONE
);
}
});
}
...
...
@@ -360,8 +361,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
})
.
subscribe
();
}
else
{
mRecyclerCoupons
.
setVisibility
(
View
.
GONE
);
mTvActiveCouponsHeader
.
setVisibility
(
View
.
GONE
);
mLlGifts
.
setVisibility
(
View
.
GONE
);
}
if
(
WarplyManagerHelper
.
getDealsCouponsSum
()
>
0
)
{
...
...
@@ -403,10 +403,10 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
CalligraphyTypefaceSpan
typefaceBoldSpan
=
new
CalligraphyTypefaceSpan
(
TypefaceUtils
.
load
(
getAssets
(),
"fonts/PeridotPE-Bold.ttf"
));
CalligraphyTypefaceSpan
typefaceBoldSpan2
=
new
CalligraphyTypefaceSpan
(
TypefaceUtils
.
load
(
getAssets
(),
"fonts/PeridotPE-Bold.ttf"
));
sBuilder
.
setSpan
(
typefaceRegularSpan
,
0
,
getString
(
R
.
string
.
cos_wallet_text3
).
length
(),
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
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
);
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
);
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
);
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
);
sBuilder
.
setSpan
(
typefaceBoldSpan
,
getString
(
R
.
string
.
cos_wallet_text3
).
length
(),
getString
(
R
.
string
.
cos_wallet_text3
).
length
()
+
badgeValue
.
length
()
+
1
,
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
);
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
);
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
);
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
);
mTvGiftsValueAll
.
setText
(
sBuilder
,
TextView
.
BufferType
.
SPANNABLE
);
}
else
{
...
...
@@ -470,8 +470,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
}
// mTvActiveCode.setText(codes);
}
else
{
mIvDealsLogo
.
setVisibility
(
View
.
GONE
);
mClDealsView
.
setVisibility
(
View
.
GONE
);
mLlDeals
.
setVisibility
(
View
.
GONE
);
}
if
(
WarplyManagerHelper
.
getConsumer
()
!=
null
)
{
...
...
@@ -500,7 +499,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
}
if
(
mClDealsBanner
.
getVisibility
()
==
View
.
GONE
&&
mClGiftsBanner
.
getVisibility
()
==
View
.
GONE
&&
m
ClDealsView
.
getVisibility
()
==
View
.
GONE
&&
WarplyManagerHelper
.
getCouponList
().
size
()
==
0
)
{
&&
m
LlDeals
.
getVisibility
()
==
View
.
GONE
&&
mLlGifts
.
getVisibility
()
==
View
.
GONE
)
{
mLlEmptyWallet
.
setVisibility
(
View
.
VISIBLE
);
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/views/adapters/SharedCouponAdapter.java
View file @
705e8a1
...
...
@@ -122,7 +122,7 @@ public class SharedCouponAdapter extends RecyclerView.Adapter<SharedCouponAdapte
JSONObject
extraFields
=
WarpJSONParser
.
getJSONFromString
(
couponItem
.
getTransactionMetadata
());
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"E,
MMM dd
yyyy HH:mm:ss"
,
Locale
.
US
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"E,
dd MMM
yyyy HH:mm:ss"
,
Locale
.
US
);
Date
newDate
=
new
Date
();
try
{
newDate
=
simpleDateFormat
.
parse
(
couponItem
.
getDate
());
...
...
warply_android_sdk/src/main/res/drawable-xhdpi/ic_deals_new.png
0 → 100644
View file @
705e8a1
5.38 KB
warply_android_sdk/src/main/res/drawable-xhdpi/ic_deals_polygon_new.png
0 → 100644
View file @
705e8a1
5.05 KB
warply_android_sdk/src/main/res/drawable-xhdpi/ic_gift_circle.png
View file @
705e8a1
4.07 KB
|
W:
|
H:
5.11 KB
|
W:
|
H:
2-up
Swipe
Onion skin
warply_android_sdk/src/main/res/drawable-xhdpi/ic_gifts_polygon_new.png
0 → 100644
View file @
705e8a1
3.12 KB
warply_android_sdk/src/main/res/layout/activity_contextual.xml
View file @
705e8a1
...
...
@@ -99,7 +99,7 @@
<LinearLayout
android:id=
"@+id/ll_activate_button"
android:layout_width=
"160dp"
android:layout_height=
"
42
dp"
android:layout_height=
"
55
dp"
android:background=
"@drawable/selector_button_green"
android:gravity=
"center"
android:orientation=
"horizontal"
...
...
warply_android_sdk/src/main/res/layout/activity_coupon_info.xml
View file @
705e8a1
...
...
@@ -213,7 +213,7 @@
<LinearLayout
android:id=
"@+id/ll_gift_it"
android:layout_width=
"160dp"
android:layout_height=
"
42
dp"
android:layout_height=
"
55
dp"
android:layout_gravity=
"center"
android:layout_marginHorizontal=
"32dp"
android:layout_marginTop=
"64dp"
...
...
@@ -236,7 +236,7 @@
<LinearLayout
android:id=
"@+id/ll_shops"
android:layout_width=
"220dp"
android:layout_height=
"
42
dp"
android:layout_height=
"
55
dp"
android:layout_gravity=
"center"
android:layout_marginHorizontal=
"32dp"
android:layout_marginTop=
"24dp"
...
...
@@ -261,7 +261,7 @@
<LinearLayout
android:id=
"@+id/ll_website"
android:layout_width=
"220dp"
android:layout_height=
"
42
dp"
android:layout_height=
"
55
dp"
android:layout_gravity=
"center"
android:layout_marginHorizontal=
"32dp"
android:layout_marginTop=
"24dp"
...
...
warply_android_sdk/src/main/res/layout/activity_coupon_share.xml
View file @
705e8a1
...
...
@@ -146,6 +146,7 @@
<EditText
android:id=
"@+id/et_phone"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignParentStart=
"true"
...
...
@@ -153,7 +154,6 @@
android:background=
"@android:color/transparent"
android:hint=
"@string/cos_coupon_share_hint"
android:inputType=
"phone"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:textColor=
"@color/cos_gray2"
android:textColorHint=
"@color/cos_gray2"
android:textSize=
"16sp"
/>
...
...
@@ -172,7 +172,7 @@
<LinearLayout
android:id=
"@+id/ll_share_button"
android:layout_width=
"190dp"
android:layout_height=
"
42
dp"
android:layout_height=
"
55
dp"
android:layout_marginHorizontal=
"32dp"
android:layout_marginTop=
"64dp"
android:background=
"@drawable/selector_button_green"
...
...
warply_android_sdk/src/main/res/layout/activity_couponset_info.xml
View file @
705e8a1
...
...
@@ -85,7 +85,7 @@
<LinearLayout
android:id=
"@+id/ll_get_gift"
android:layout_width=
"160dp"
android:layout_height=
"
42
dp"
android:layout_height=
"
55
dp"
android:layout_marginTop=
"27dp"
android:background=
"@drawable/selector_button_green"
android:gravity=
"center"
...
...
warply_android_sdk/src/main/res/layout/activity_loyalty_analysis.xml
View file @
705e8a1
...
...
@@ -119,6 +119,7 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_expired_title"
android:layout_marginTop=
"32dp"
android:scrollbars=
"none"
android:overScrollMode=
"never"
>
<LinearLayout
...
...
@@ -138,20 +139,19 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginTop=
"20dp"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingBottom=
"
56
dp"
android:paddingBottom=
"
8
dp"
android:visibility=
"gone"
tools:visibility=
"visible"
>
<TextView
android:id=
"@+id/tv_expired_more"
fontPath=
"fonts/
pf_square_sans_pro_medium
.ttf"
fontPath=
"fonts/
PeridotPE-Bold
.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/cos_see_more"
android:textColor=
"@color/
grey
"
android:textColor=
"@color/
cos_light_black
"
android:textSize=
"16sp"
/>
<ImageView
...
...
@@ -159,7 +159,8 @@
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:layout_marginStart=
"6dp"
android:src=
"@drawable/ic_down_dark"
/>
android:layout_marginTop=
"3dp"
android:src=
"@drawable/ic_down_dark_new"
/>
</LinearLayout>
</LinearLayout>
</ScrollView>
...
...
@@ -167,14 +168,14 @@
<TextView
android:id=
"@+id/tv_expired_empty"
fontPath=
"fonts/
pf_square_sans_pro_r
egular.ttf"
fontPath=
"fonts/
PeridotPE-R
egular.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_expired_title"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"56dp"
android:text=
"@string/cos_empty_expired_coupons"
android:textColor=
"@color/cos_light_
grey2
"
android:textColor=
"@color/cos_light_
black
"
android:textSize=
"16sp"
android:visibility=
"gone"
/>
</RelativeLayout>
...
...
@@ -183,25 +184,29 @@
android:id=
"@+id/rl_shared_view"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@drawable/shape_cos_white_border"
android:layout_below=
"@+id/iv_gift_circle_logo"
android:layout_marginTop=
"32dp"
android:layout_marginHorizontal=
"12dp"
android:paddingHorizontal=
"16dp"
android:paddingVertical=
"16dp"
android:visibility=
"gone"
>
<TextView
android:id=
"@+id/tv_shared_title"
fontPath=
"fonts/
pf_square_sans_pro_medium
.ttf"
fontPath=
"fonts/
BTCosmo-Bold
.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:text=
"@string/cos_analysis2"
android:textColor=
"@color/cos_
blue_dar
k"
android:textSize=
"
16
sp"
/>
android:textColor=
"@color/cos_
light_blac
k"
android:textSize=
"
21
sp"
/>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/tv_shared_title"
android:layout_marginTop=
"24dp"
android:scrollbars=
"none"
android:overScrollMode=
"never"
>
<LinearLayout
...
...
@@ -213,7 +218,6 @@
android:id=
"@+id/rv_shared_coupons"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:orientation=
"vertical"
android:overScrollMode=
"never"
/>
...
...
@@ -222,28 +226,28 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginTop=
"20dp"
android:gravity=
"center"
android:orientation=
"horizontal"
android:paddingBottom=
"
56
dp"
android:paddingBottom=
"
8
dp"
android:visibility=
"gone"
tools:visibility=
"visible"
>
<TextView
android:id=
"@+id/tv_shared_more"
fontPath=
"fonts/
pf_square_sans_pro_medium
.ttf"
fontPath=
"fonts/
PeridotPE-Bold
.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/cos_see_more"
android:textColor=
"@color/
grey
"
android:textColor=
"@color/
cos_light_black
"
android:textSize=
"16sp"
/>
<ImageView
android:id=
"@+id/iv_shared_more_arrow"
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:layout_marginTop=
"3dp"
android:layout_marginStart=
"6dp"
android:src=
"@drawable/ic_down_dark"
/>
android:src=
"@drawable/ic_down_dark
_new
"
/>
</LinearLayout>
</LinearLayout>
</ScrollView>
...
...
warply_android_sdk/src/main/res/layout/activity_loyalty_wallet.xml
View file @
705e8a1
This diff is collapsed. Click to expand it.
warply_android_sdk/src/main/res/layout/activity_telco.xml
View file @
705e8a1
...
...
@@ -150,7 +150,7 @@
<LinearLayout
android:id=
"@+id/ll_activate_button"
android:layout_width=
"160dp"
android:layout_height=
"
42
dp"
android:layout_height=
"
55
dp"
android:layout_below=
"@+id/textView13"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"44dp"
...
...
warply_android_sdk/src/main/res/layout/expired_coupon_layout.xml
View file @
705e8a1
...
...
@@ -7,10 +7,10 @@
<TextView
android:id=
"@+id/tv_expired_coupons_date"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
PeridotPE-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/cos_
blue_dark2
"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"13sp"
tools:text=
"05/05/2022"
/>
...
...
@@ -42,36 +42,36 @@
<TextView
android:id=
"@+id/tv_expired_coupons_title"
fontPath=
"fonts/
pf_square_sans_pro_medium
.ttf"
fontPath=
"fonts/
PeridotPE-Regular
.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.5"
android:maxLines=
"2"
android:textColor=
"@color/cos_
blue_dark2
"
android:textSize=
"1
6
sp"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"1
8
sp"
tools:text=
"Box"
/>
<TextView
android:id=
"@+id/tv_expired_coupons_value"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
PeridotPE-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.5"
android:gravity=
"end"
android:textColor=
"@color/cos_
blue_dark2
"
android:textSize=
"1
6
sp"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"1
8
sp"
tools:text=
"4$"
/>
</LinearLayout>
<TextView
android:id=
"@+id/tv_expired_coupons_label"
fontPath=
"fonts/
pf_square_sans_pro_r
egular.ttf"
fontPath=
"fonts/
PeridotPE-R
egular.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/ll_expired_info_view"
android:text=
"@string/cos_expired_coupon_label"
android:textColor=
"@color/cos_
light_grey2
"
android:textSize=
"1
6
sp"
/>
android:textColor=
"@color/cos_
gray
"
android:textSize=
"1
5
sp"
/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
\ No newline at end of file
...
...
warply_android_sdk/src/main/res/layout/shared_coupon_layout.xml
View file @
705e8a1
...
...
@@ -7,10 +7,10 @@
<TextView
android:id=
"@+id/tv_shared_coupons_date"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
PeridotPE-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/cos_
blue_dark2
"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"13sp"
tools:text=
"05/05/2022"
/>
...
...
@@ -42,43 +42,43 @@
<TextView
android:id=
"@+id/tv_shared_coupons_title"
fontPath=
"fonts/
pf_square_sans_pro_medium
.ttf"
fontPath=
"fonts/
PeridotPE-Regular
.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.5"
android:maxLines=
"2"
android:textColor=
"@color/cos_
blue_dark2
"
android:textSize=
"1
6
sp"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"1
8
sp"
tools:text=
"Box"
/>
<TextView
android:id=
"@+id/tv_shared_coupons_value"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
PeridotPE-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"0.5"
android:gravity=
"end"
android:textColor=
"@color/cos_
blue_dark2
"
android:textSize=
"1
6
sp"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"1
8
sp"
tools:text=
"4$"
/>
</LinearLayout>
<TextView
android:id=
"@+id/tv_shared_coupons_label"
fontPath=
"fonts/
pf_square_sans_pro_r
egular.ttf"
fontPath=
"fonts/
PeridotPE-R
egular.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/cos_
light_grey2
"
android:textSize=
"1
6
sp"
android:textColor=
"@color/cos_
gray
"
android:textSize=
"1
5
sp"
tools:text=
"@string/cos_expired_coupon_label"
/>
<TextView
android:id=
"@+id/tv_shared_coupons_phone"
fontPath=
"fonts/
pf_square_sans_pro_r
egular.ttf"
fontPath=
"fonts/
PeridotPE-R
egular.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/cos_
light_grey2
"
android:textSize=
"1
6
sp"
android:textColor=
"@color/cos_
gray
"
android:textSize=
"1
5
sp"
tools:text=
"@string/cos_expired_coupon_label"
/>
</LinearLayout>
</LinearLayout>
...
...
Please
register
or
login
to post a comment