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-28 16:18:54 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
17d4ae6b03372028f49b4b27f9a4cc2a0b3f2c4d
17d4ae6b
1 parent
9a959169
ui changes and fixes
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
258 additions
and
222 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyMarketAnalysisActivity.java
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyWallet.java
warply_android_sdk/src/main/res/layout/activity_coupon_info.xml
warply_android_sdk/src/main/res/layout/activity_loyalty_wallet.xml
warply_android_sdk/src/main/res/layout/activity_unified_coupon_info.xml
warply_android_sdk/src/main/res/layout/custom_coupon_layout.xml
warply_android_sdk/src/main/res/layout/market_coupon_layout.xml
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyMarketAnalysisActivity.java
View file @
17d4ae6
...
...
@@ -12,6 +12,7 @@ import android.widget.LinearLayout;
import
android.widget.RelativeLayout
;
import
android.widget.TextView
;
import
androidx.cardview.widget.CardView
;
import
androidx.core.content.ContextCompat
;
import
androidx.recyclerview.widget.LinearLayoutManager
;
import
androidx.recyclerview.widget.RecyclerView
;
...
...
@@ -53,7 +54,8 @@ public class LoyaltyMarketAnalysisActivity extends Activity implements View.OnCl
private
ExpiredCouponAdapter
mAdapterExpiredCoupons
;
private
SharedCouponAdapter
mAdapterSharedCoupons
;
private
LinearLayout
mLlExpiredTab
,
mLlSharedTab
,
mLlShowMoreExpired
,
mLlShowMoreShared
;
private
RelativeLayout
mRlExpiredView
,
mRlSharedView
;
private
RelativeLayout
mRlExpiredView
;
private
CardView
mRlSharedView
;
private
SharingList
mSharedCoupons
=
new
SharingList
();
private
int
mTimer
=
0
;
private
Handler
mSecondsHandler
;
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/LoyaltyWallet.java
View file @
17d4ae6
...
...
@@ -18,6 +18,7 @@ import android.widget.ScrollView;
import
android.widget.TextView
;
import
androidx.appcompat.app.AlertDialog
;
import
androidx.cardview.widget.CardView
;
import
androidx.constraintlayout.widget.ConstraintLayout
;
import
androidx.core.content.ContextCompat
;
import
androidx.core.widget.NestedScrollView
;
...
...
@@ -81,7 +82,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
mTvUserBadge
,
mTvGiftsValue
,
mTvGiftsValueAll
,
mTvActiveCode
,
mTvActiveDate
,
mTvActiveTitle
,
mTvActiveCouponsHeader
,
mTvMarketValue
,
mTvMarketAll
,
mTvFavValue
,
mTvFavValueAll
;
private
ConstraintLayout
mClDealsBanner
,
mClDealsView
,
mClGiftsBanner
,
mClToolbar
,
mCl
Exp
,
mCl
Market
;
mClGiftsBanner
,
mClToolbar
,
mClMarket
;
private
LinearLayout
mLlQuestionnaire
,
mLlUserBadge
,
mLlEmptyWallet
,
mLlDeals
,
mLlGifts
,
mLlMarketView
;
private
FlowLayout
mLlActiveCodesView
;
...
...
@@ -99,6 +100,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener, Vie
private
MarketCouponAdapter
mAdapterMarketCoupons
;
private
ExpandableLayout
mElGifts
;
private
boolean
mIsStayCollapsed
=
true
;
private
CardView
mClExp
;
// ===========================================================
// Methods for/from SuperClass/Interfaces
...
...
warply_android_sdk/src/main/res/layout/activity_coupon_info.xml
View file @
17d4ae6
...
...
@@ -106,7 +106,7 @@
android:layout_marginTop=
"24dp"
android:text=
"Κωδικός Κουπονιού"
android:textColor=
"@color/cos_light_black"
android:textSize=
"1
6
sp"
/>
android:textSize=
"1
8
sp"
/>
<TextView
android:id=
"@+id/textView16"
...
...
@@ -210,9 +210,9 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginTop=
"
24
dp"
android:layout_marginTop=
"
16
dp"
android:textColor=
"@color/cos_light_black"
android:textSize=
"1
5
sp"
android:textSize=
"1
6
sp"
tools:text=
"@string/cos_coupon_date"
/>
<LinearLayout
...
...
warply_android_sdk/src/main/res/layout/activity_loyalty_wallet.xml
View file @
17d4ae6
...
...
@@ -136,73 +136,80 @@
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
<androidx.c
onstraintlayout.widget.ConstraintLayout
<androidx.c
ardview.widget.CardView
android:id=
"@+id/cl_exp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"
4
dp"
android:layout_marginHorizontal=
"
11
dp"
android:layout_marginTop=
"24dp"
android:background=
"@drawable/shape_cos_white_border"
android:paddingHorizontal=
"14dp"
android:paddingVertical=
"14dp"
android:visibility=
"gone"
app:cardCornerRadius=
"16dp"
app:cardElevation=
"2dp"
tools:visibility=
"visible"
>
<androidx.constraintlayout.widget.
Guideline
android:
id=
"@+id/gl_horizontal_64_exp
"
android:layout_
width
=
"wrap_content"
android:
layout_height=
"match_parent
"
android:
orientation=
"horizontal
"
a
pp:layout_constraintGuide_percent=
"0.64"
/
>
<androidx.constraintlayout.widget.
ConstraintLayout
android:
layout_width=
"match_parent
"
android:layout_
height
=
"wrap_content"
android:
background=
"@color/white
"
android:
paddingHorizontal=
"14dp
"
a
ndroid:paddingVertical=
"14dp"
>
<ImageView
android:id=
"@+id/iv_exp_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:layout_marginVertical=
"4dp"
android:src=
"@drawable/ic_foryou_polygon_new"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_64_exp"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.64"
/>
<TextView
android:id=
"@+id/tv_exp_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_exp_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_exp_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_64_exp"
tools:text=
"18.00€"
/>
<ImageView
android:id=
"@+id/iv_exp_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:layout_marginVertical=
"4dp"
android:src=
"@drawable/ic_foryou_polygon_new"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_exp_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_for_you_all"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/iv_exp_arrow"
app:layout_constraintStart_toEndOf=
"@+id/iv_exp_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_exp_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_exp_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_exp_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_64_exp"
tools:text=
"18.00€"
/>
<ImageView
android:id=
"@+id/iv_exp_arrow"
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:src=
"@drawable/ic_down_dark_new"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id=
"@+id/tv_exp_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_for_you_all"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/iv_exp_arrow"
app:layout_constraintStart_toEndOf=
"@+id/iv_exp_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
<ImageView
android:id=
"@+id/iv_exp_arrow"
android:layout_width=
"14dp"
android:layout_height=
"14dp"
android:src=
"@drawable/ic_down_dark_new"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
<net.cachapa.expandablelayout.ExpandableLayout
android:id=
"@+id/el_exp"
...
...
@@ -216,172 +223,197 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<androidx.c
onstraintlayout.widget.ConstraintLayout
android:id=
"@+id/c
l
_deals_win_inner_cos"
<androidx.c
ardview.widget.CardView
android:id=
"@+id/c
v
_deals_win_inner_cos"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"6dp"
android:background=
"@drawable/shape_cos_white_border"
android:paddingHorizontal=
"6dp"
android:paddingVertical=
"4dp"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_50_cos"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.64"
/>
<ImageView
android:id=
"@+id/iv_deals_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:src=
"@drawable/ic_deals_polygon_new"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:cardCornerRadius=
"16dp"
app:cardElevation=
"2dp"
>
<TextView
android:id=
"@+id/tv_deals_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_deals_win_inner_cos"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_deals_win_title_cos"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_deals_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
android:background=
"@color/white"
android:paddingHorizontal=
"6dp"
android:paddingVertical=
"4dp"
>
<TextView
android:id=
"@+id/tv_deals_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_deals_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_deals_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_50_cos"
tools:text=
"18.00€"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_50_cos"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.64"
/>
<ImageView
android:id=
"@+id/iv_deals_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:src=
"@drawable/ic_deals_polygon_new"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_deals_win_inner"
<TextView
android:id=
"@+id/tv_deals_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_deals_win_title_cos"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_deals_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_deals_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_deals_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_deals_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_50_cos"
tools:text=
"18.00€"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id=
"@+id/cv_deals_win_inner"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/c
l
_deals_win_inner_cos"
android:layout_below=
"@+id/c
v
_deals_win_inner_cos"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"6dp"
android:background=
"@drawable/shape_cos_white_border"
android:paddingHorizontal=
"6dp"
android:paddingVertical=
"4dp"
>
app:cardCornerRadius=
"16dp"
app:cardElevation=
"2dp"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_50"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.64"
/>
<ImageView
android:id=
"@+id/iv_gifts_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:src=
"@drawable/ic_gifts_polygon_new"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_gifts_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_deals_win_inner"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_deals_win_title"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_gifts_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
android:background=
"@color/white"
android:paddingHorizontal=
"6dp"
android:paddingVertical=
"4dp"
>
<TextView
android:id=
"@+id/tv_gifts_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_gifts_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_gifts_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_50"
tools:text=
"20.00€"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_50"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.64"
/>
<ImageView
android:id=
"@+id/iv_gifts_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:src=
"@drawable/ic_gifts_polygon_new"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_market_inner"
<TextView
android:id=
"@+id/tv_gifts_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_deals_win_title"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_gifts_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_gifts_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_gifts_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_gifts_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_50"
tools:text=
"20.00€"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id=
"@+id/cv_market_inner"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/c
l
_deals_win_inner"
android:layout_below=
"@+id/c
v
_deals_win_inner"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"6dp"
android:
background=
"@drawable/shape_cos_white_border
"
a
ndroid:paddingHorizontal=
"
6dp"
a
ndroid:paddingVertical=
"4
dp"
>
android:
layout_marginBottom=
"6dp
"
a
pp:cardCornerRadius=
"1
6dp"
a
pp:cardElevation=
"2
dp"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_50_market"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.64"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_market_inner"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white"
android:paddingHorizontal=
"6dp"
android:paddingVertical=
"4dp"
>
<ImageView
android:id=
"@+id/iv_market_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:src=
"@drawable/ic_market_polygon"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_50_market"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.64"
/>
<ImageView
android:id=
"@+id/iv_market_logo"
android:layout_width=
"76dp"
android:layout_height=
"76dp"
android:src=
"@drawable/ic_market_polygon"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_market_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_supermarket_win"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_market_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_market_value_all"
fontPath=
"fonts/PeridotPE-Regular.ttf"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:includeFontPadding=
"false"
android:text=
"@string/cos_supermarket_win"
android:textColor=
"@color/cos_light_black"
android:textSize=
"15sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_market_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_market_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_market_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_market_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_50_market"
tools:text=
"20.00€"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id=
"@+id/tv_market_value"
fontPath=
"fonts/PeridotPE-Bold.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
app:layout_constraintEnd_toEndOf=
"@+id/iv_market_logo"
app:layout_constraintStart_toStartOf=
"@+id/iv_market_logo"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_50_market"
tools:text=
"20.00€"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
</RelativeLayout>
</net.cachapa.expandablelayout.ExpandableLayout>
...
...
@@ -389,7 +421,7 @@
android:id=
"@+id/ll_market_view"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"2
4
dp"
android:layout_marginTop=
"2
0
dp"
android:orientation=
"vertical"
android:visibility=
"gone"
tools:visibility=
"visible"
>
...
...
@@ -446,15 +478,14 @@
android:id=
"@+id/cl_mygifts"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"8dp"
android:layout_marginTop=
"8dp"
android:background=
"@color/white"
android:paddingVertical=
"
10
dp"
>
android:paddingVertical=
"
8
dp"
>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"24dp"
android:layout_marginEnd=
"24dp"
android:layout_marginStart=
"20dp"
android:orientation=
"vertical"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/iv_deals_circle"
...
...
@@ -514,7 +545,7 @@
android:layout_width=
"86dp"
android:layout_height=
"86dp"
android:layout_marginVertical=
"4dp"
android:layout_marginEnd=
"
32
dp"
android:layout_marginEnd=
"
20
dp"
android:src=
"@drawable/ic_deals_new"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
warply_android_sdk/src/main/res/layout/activity_unified_coupon_info.xml
View file @
17d4ae6
...
...
@@ -28,7 +28,7 @@
android:layout_height=
"wrap_content"
android:text=
"@string/cos_coupon_info_title"
android:textColor=
"@color/cos_light_black"
android:textSize=
"
21
sp"
android:textSize=
"
19
sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -56,7 +56,7 @@
<ImageView
android:id=
"@+id/imageView6"
android:layout_width=
"match_parent"
android:layout_height=
"2
9
5dp"
android:layout_height=
"2
5
5dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/unified_coupon_banner"
/>
...
...
@@ -189,7 +189,7 @@
android:layout_height=
"wrap_content"
android:text=
"@string/cos_hide_market_coupons"
android:textColor=
"@color/cos_light_black"
android:textSize=
"1
6
sp"
/>
android:textSize=
"1
5
sp"
/>
<ImageView
android:id=
"@+id/iv_market_expand"
...
...
@@ -283,7 +283,8 @@
android:layout_marginHorizontal=
"32dp"
android:layout_marginTop=
"16dp"
android:text=
"@string/cos_market_terms"
android:textColor=
"@color/cos_gray"
android:textColor=
"@color/cos_light_black"
android:textSize=
"14sp"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
</RelativeLayout>
...
...
warply_android_sdk/src/main/res/layout/custom_coupon_layout.xml
View file @
17d4ae6
...
...
@@ -5,10 +5,10 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/cl_custom_layout"
android:layout_width=
"match_parent"
android:layout_height=
"1
50
dp"
android:layout_marginHorizontal=
"
4
dp"
android:layout_margin
Vertical
=
"4dp"
android:background=
"@drawable/ic_coupon_background_new
2
"
>
android:layout_height=
"1
45
dp"
android:layout_marginHorizontal=
"
6
dp"
android:layout_margin
Bottom
=
"4dp"
android:background=
"@drawable/ic_coupon_background_new
3
"
>
<ImageView
android:id=
"@+id/iv_active_coupon"
...
...
warply_android_sdk/src/main/res/layout/market_coupon_layout.xml
View file @
17d4ae6
...
...
@@ -4,10 +4,10 @@
xmlns:custom=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"1
50
dp"
android:layout_marginHorizontal=
"
4
dp"
android:layout_margin
Vertical=
"4
dp"
android:background=
"@drawable/ic_coupon_background_new
2
"
>
android:layout_height=
"1
45
dp"
android:layout_marginHorizontal=
"
6
dp"
android:layout_margin
Bottom=
"3
dp"
android:background=
"@drawable/ic_coupon_background_new
3
"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_vertical_72_percent"
...
...
@@ -30,7 +30,7 @@
<ly.warp.sdk.views.DividerView
android:id=
"@+id/v_separator"
android:layout_width=
"1dp"
android:layout_height=
"
match_parent
"
android:layout_height=
"
0dp
"
android:layout_marginVertical=
"16dp"
android:layout_marginStart=
"16dp"
android:layerType=
"software"
...
...
Please
register
or
login
to post a comment