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
2025-03-04 17:42:06 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
42fd1fdb3cd774a1af7d1e7557a9dacaa95dcded
42fd1fdb
1 parent
09a23712
magenta colors ui changes
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
41 additions
and
15 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponShareActivity.java
warply_android_sdk/src/main/res/drawable/shape_cos_counter_magenta.xml
warply_android_sdk/src/main/res/drawable/shape_indicator.xml
warply_android_sdk/src/main/res/drawable/shape_indicator_grey.xml
warply_android_sdk/src/main/res/layout/fragment_my_rewards.xml
warply_android_sdk/src/main/res/layout/tile_active_box.xml
warply_android_sdk/src/main/res/layout/tile_active_coupons.xml
warply_android_sdk/src/main/res/layout/tile_active_dfy.xml
warply_android_sdk/src/main/res/layout/tile_active_unified.xml
warply_android_sdk/src/main/res/values/colors.xml
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponShareActivity.java
View file @
42fd1fd
...
...
@@ -2,7 +2,6 @@ package ly.warp.sdk.activities;
import
android.app.Activity
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.text.TextUtils
;
import
android.util.Log
;
...
...
@@ -253,7 +252,13 @@ public class CouponShareActivity extends Activity implements View.OnClickListene
.
setPositiveButton
(
R
.
string
.
cos_dlg_positive_button2
,
(
dialogPositive
,
whichPositive
)
->
{
dialogPositive
.
dismiss
();
if
(
mIsFromWallet
)
{
setResult
(
RESULT_OK
,
new
Intent
());
setResult
(
RESULT_OK
);
onBackPressed
();
}
})
.
setOnDismissListener
(
dialog
->
{
if
(
mIsFromWallet
)
{
setResult
(
RESULT_OK
);
onBackPressed
();
}
})
...
...
warply_android_sdk/src/main/res/drawable/shape_cos_counter_magenta.xml
0 → 100644
View file @
42fd1fd
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"4dp"
/>
<solid
android:color=
"@color/cos_magenta"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/shape_indicator.xml
View file @
42fd1fd
...
...
@@ -4,7 +4,7 @@
android:shape=
"oval"
>
<solid
android:color=
"@color/cos_
light_blue
"
/>
android:color=
"@color/cos_
magenta
"
/>
<size
android:width=
"24dp"
...
...
warply_android_sdk/src/main/res/drawable/shape_indicator_grey.xml
0 → 100644
View file @
42fd1fd
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"oval"
>
<solid
android:color=
"@color/cos_grey11"
/>
<size
android:width=
"24dp"
android:height=
"24dp"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/fragment_my_rewards.xml
View file @
42fd1fd
...
...
@@ -421,7 +421,7 @@
android:id=
"@+id/v_first_end"
android:layout_width=
"8dp"
android:layout_height=
"8dp"
android:background=
"@drawable/shape_indicator"
android:background=
"@drawable/shape_indicator
_grey
"
android:visibility=
"gone"
/>
<View
...
...
@@ -440,7 +440,7 @@
android:id=
"@+id/v_second_end"
android:layout_width=
"8dp"
android:layout_height=
"8dp"
android:background=
"@drawable/shape_indicator"
/>
android:background=
"@drawable/shape_indicator
_grey
"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -812,7 +812,7 @@
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:layout_marginStart=
"2dp"
android:background=
"@drawable/shape_cos_counter_
orange
"
android:background=
"@drawable/shape_cos_counter_
magenta
"
android:gravity=
"center"
android:orientation=
"vertical"
app:layout_constraintBottom_toTopOf=
"@+id/tv_vouchers_info_title_disabled"
...
...
@@ -826,7 +826,7 @@
android:includeFontPadding=
"false"
android:maxLines=
"1"
android:text=
"0"
android:textColor=
"@color/
cos_light_black
"
android:textColor=
"@color/
white
"
android:textSize=
"12sp"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
...
...
warply_android_sdk/src/main/res/layout/tile_active_box.xml
View file @
42fd1fd
...
...
@@ -64,7 +64,7 @@
android:layout_alignParentEnd=
"true"
android:layout_marginTop=
"4dp"
android:layout_marginEnd=
"1dp"
android:background=
"@drawable/shape_cos_counter_
orange
"
android:background=
"@drawable/shape_cos_counter_
magenta
"
android:gravity=
"center"
android:orientation=
"vertical"
android:translationZ=
"2dp"
...
...
@@ -78,7 +78,7 @@
android:layout_height=
"16dp"
android:includeFontPadding=
"false"
android:maxLines=
"1"
android:textColor=
"@color/
cos_light_black
"
android:textColor=
"@color/
white
"
android:textSize=
"12sp"
tools:text=
"6"
/>
</LinearLayout>
...
...
warply_android_sdk/src/main/res/layout/tile_active_coupons.xml
View file @
42fd1fd
...
...
@@ -64,7 +64,7 @@
android:layout_alignParentEnd=
"true"
android:layout_marginTop=
"4dp"
android:layout_marginEnd=
"1dp"
android:background=
"@drawable/shape_cos_counter_
orange
"
android:background=
"@drawable/shape_cos_counter_
magenta
"
android:gravity=
"center"
android:orientation=
"vertical"
android:translationZ=
"2dp"
...
...
@@ -77,7 +77,7 @@
android:layout_height=
"16dp"
android:includeFontPadding=
"false"
android:maxLines=
"1"
android:textColor=
"@color/
cos_light_black
"
android:textColor=
"@color/
white
"
android:textSize=
"12sp"
tools:text=
"6"
/>
</LinearLayout>
...
...
warply_android_sdk/src/main/res/layout/tile_active_dfy.xml
View file @
42fd1fd
...
...
@@ -64,7 +64,7 @@
android:layout_alignParentEnd=
"true"
android:layout_marginTop=
"4dp"
android:layout_marginEnd=
"1dp"
android:background=
"@drawable/shape_cos_counter_
orange
"
android:background=
"@drawable/shape_cos_counter_
magenta
"
android:gravity=
"center"
android:orientation=
"vertical"
android:translationZ=
"2dp"
...
...
@@ -77,7 +77,7 @@
android:layout_height=
"16dp"
android:includeFontPadding=
"false"
android:maxLines=
"1"
android:textColor=
"@color/
cos_light_black
"
android:textColor=
"@color/
white
"
android:textSize=
"12sp"
tools:text=
"6"
/>
</LinearLayout>
...
...
warply_android_sdk/src/main/res/layout/tile_active_unified.xml
View file @
42fd1fd
...
...
@@ -64,7 +64,7 @@
android:layout_alignParentEnd=
"true"
android:layout_marginTop=
"4dp"
android:layout_marginEnd=
"1dp"
android:background=
"@drawable/shape_cos_counter_
orange
"
android:background=
"@drawable/shape_cos_counter_
magenta
"
android:gravity=
"center"
android:orientation=
"vertical"
android:translationZ=
"2dp"
...
...
@@ -77,7 +77,7 @@
android:layout_height=
"16dp"
android:includeFontPadding=
"false"
android:maxLines=
"1"
android:textColor=
"@color/
cos_light_black
"
android:textColor=
"@color/
white
"
android:textSize=
"12sp"
tools:text=
"6"
/>
</LinearLayout>
...
...
warply_android_sdk/src/main/res/values/colors.xml
View file @
42fd1fd
...
...
@@ -85,4 +85,6 @@
<color
name=
"cos_light_grey4"
>
#DADDE4
</color>
<color
name=
"cos_green14"
>
#006D26
</color>
<color
name=
"cos_green14_tr"
>
#66006D26
</color>
<color
name=
"cos_magenta"
>
#E20074
</color>
<color
name=
"cos_grey11"
>
#767676
</color>
</resources>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment