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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
18 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
This diff is collapsed. Click to expand it.
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