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-26 17:34:10 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e86947ed07319b0a9e412958a338a12fc2857b8c
e86947ed
1 parent
5db7ba6f
ui fixes
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyMarketAnalysisActivity.java
warply_android_sdk/src/main/res/layout/activity_loyalty_analysis.xml
warply_android_sdk/src/main/res/layout/activity_loyalty_market_analysis.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/LoyaltyMarketAnalysisActivity.java
View file @
e86947e
...
...
@@ -146,9 +146,9 @@ public class LoyaltyMarketAnalysisActivity extends Activity implements View.OnCl
WarplyAnalyticsManager
.
logTrackersEvent
(
this
,
"click"
,
(
"LoyaltyHistoryScreen"
)
.
concat
(
":"
)
.
concat
(
"TabExpired"
));
mLlExpiredTab
.
setBackgroundResource
(
R
.
drawable
.
bottom_border_
gradient2
);
mLlExpiredTab
.
setBackgroundResource
(
R
.
drawable
.
bottom_border_
light_blue
);
TextView
expiredTab
=
findViewById
(
R
.
id
.
tv_expired_tab
);
expiredTab
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
cos_
cyan4
));
expiredTab
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
cos_
light_black
));
CalligraphyTypefaceSpan
typefaceBoldSpan
=
new
CalligraphyTypefaceSpan
(
TypefaceUtils
.
load
(
getAssets
(),
"fonts/PeridotPE-Bold.ttf"
));
SpannableStringBuilder
sBuilderExpired
=
new
SpannableStringBuilder
();
sBuilderExpired
.
append
(
getString
(
R
.
string
.
cos_redeemed_coupons_tab
));
...
...
@@ -170,9 +170,9 @@ public class LoyaltyMarketAnalysisActivity extends Activity implements View.OnCl
WarplyAnalyticsManager
.
logTrackersEvent
(
this
,
"click"
,
(
"LoyaltyHistoryScreen"
)
.
concat
(
":"
)
.
concat
(
"TabShared"
));
mLlSharedTab
.
setBackgroundResource
(
R
.
drawable
.
bottom_border_
gradient2
);
mLlSharedTab
.
setBackgroundResource
(
R
.
drawable
.
bottom_border_
light_blue
);
TextView
sharedTab
=
findViewById
(
R
.
id
.
tv_shared_tab
);
sharedTab
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
cos_
cyan4
));
sharedTab
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
cos_
light_black
));
CalligraphyTypefaceSpan
typefaceBoldSpan
=
new
CalligraphyTypefaceSpan
(
TypefaceUtils
.
load
(
getAssets
(),
"fonts/PeridotPE-Bold.ttf"
));
SpannableStringBuilder
sBuilderShared
=
new
SpannableStringBuilder
();
sBuilderShared
.
append
(
getString
(
R
.
string
.
cos_shared_gifts_tab
));
...
...
@@ -219,9 +219,9 @@ public class LoyaltyMarketAnalysisActivity extends Activity implements View.OnCl
mLlSharedTab
.
setOnClickListener
(
this
);
mLlShowMoreExpired
.
setOnClickListener
(
this
);
mLlShowMoreShared
.
setOnClickListener
(
this
);
mLlExpiredTab
.
setBackgroundResource
(
R
.
drawable
.
bottom_border_
gradient2
);
mLlExpiredTab
.
setBackgroundResource
(
R
.
drawable
.
bottom_border_
light_blue
);
TextView
expiredTab
=
findViewById
(
R
.
id
.
tv_expired_tab
);
expiredTab
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
cos_
cyan4
));
expiredTab
.
setTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
cos_
light_black
));
CalligraphyTypefaceSpan
typefaceBoldExpiredSpan
=
new
CalligraphyTypefaceSpan
(
TypefaceUtils
.
load
(
getAssets
(),
"fonts/PeridotPE-Bold.ttf"
));
SpannableStringBuilder
sBuilderExpired
=
new
SpannableStringBuilder
();
sBuilderExpired
.
append
(
getString
(
R
.
string
.
cos_redeemed_coupons_tab
));
...
...
warply_android_sdk/src/main/res/layout/activity_loyalty_analysis.xml
View file @
e86947e
...
...
@@ -252,14 +252,14 @@
<TextView
android:id=
"@+id/tv_shared_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_shared_title"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"56dp"
android:text=
"@string/cos_empty_shared_coupons"
android:textColor=
"@color/cos_light_
grey2
"
android:textColor=
"@color/cos_light_
black
"
android:textSize=
"16sp"
android:visibility=
"gone"
/>
</RelativeLayout>
...
...
warply_android_sdk/src/main/res/layout/activity_loyalty_market_analysis.xml
View file @
e86947e
...
...
@@ -252,14 +252,14 @@
<TextView
android:id=
"@+id/tv_shared_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_shared_title"
android:layout_centerHorizontal=
"true"
android:layout_marginTop=
"56dp"
android:text=
"@string/cos_empty_shared_coupons"
android:textColor=
"@color/cos_light_
grey2
"
android:textColor=
"@color/cos_light_
black
"
android:textSize=
"16sp"
android:visibility=
"gone"
/>
</RelativeLayout>
...
...
warply_android_sdk/src/main/res/layout/expired_coupon_layout.xml
View file @
e86947e
...
...
@@ -70,7 +70,7 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/ll_expired_info_view"
android:text=
"@string/cos_expired_coupon_label"
android:textColor=
"@color/cos_
gray
"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"15sp"
/>
</LinearLayout>
</LinearLayout>
...
...
warply_android_sdk/src/main/res/layout/shared_coupon_layout.xml
View file @
e86947e
...
...
@@ -68,7 +68,7 @@
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/cos_
gray
"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"15sp"
tools:text=
"@string/cos_expired_coupon_label"
/>
...
...
@@ -77,7 +77,7 @@
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textColor=
"@color/cos_
gray
"
android:textColor=
"@color/cos_
light_black
"
android:textSize=
"15sp"
tools:text=
"@string/cos_expired_coupon_label"
/>
</LinearLayout>
...
...
Please
register
or
login
to post a comment