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
2022-04-20 17:01:22 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a8127d295b0c3fd03165ed775d6e86dbe47c6f2d
a8127d29
1 parent
f6885cb2
minor fixes
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
106 additions
and
29 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponTransactionActivity.java
warply_android_sdk/src/main/res/drawable/shape_dashed.xml
warply_android_sdk/src/main/res/drawable/shape_dashed_vertical.xml
warply_android_sdk/src/main/res/layout/active_coupon_layout.xml
warply_android_sdk/src/main/res/layout/activity_coupons_history.xml
warply_android_sdk/src/main/res/layout/activity_loyalty.xml
warply_android_sdk/src/main/res/layout/coupon_transaction.xml
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponTransactionActivity.java
View file @
a8127d2
...
...
@@ -57,7 +57,6 @@ public class CouponTransactionActivity extends Activity implements View.OnClickL
private
void
initViews
()
{
mIvBack
.
setOnClickListener
(
this
);
}
// ===========================================================
...
...
warply_android_sdk/src/main/res/drawable/shape_dashed.xml
0 → 100644
View file @
a8127d2
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"line"
>
<stroke
android:width=
"1dp"
android:color=
"@color/grey2"
android:dashWidth=
"12px"
android:dashGap=
"12px"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/shape_dashed_vertical.xml
0 → 100644
View file @
a8127d2
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:left=
"-600dp"
android:right=
"-600dp"
>
<rotate
android:drawable=
"@drawable/shape_dashed"
android:fromDegrees=
"90"
android:visible=
"true"
/>
</item>
</layer-list>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/active_coupon_layout.xml
View file @
a8127d2
...
...
@@ -30,7 +30,7 @@
android:layout_height=
"match_parent"
android:layout_marginVertical=
"16dp"
android:layout_marginStart=
"8dp"
android:background=
"@
color/grey2
"
android:background=
"@
drawable/shape_dashed_vertical
"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_active_coupon"
app:layout_constraintTop_toTopOf=
"parent"
/>
...
...
warply_android_sdk/src/main/res/layout/activity_coupons_history.xml
View file @
a8127d2
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/cl_bill_payment"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:background=
"@android:color/white"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_bill_header"
android:layout_width=
"match_parent"
android:layout_height=
"
8
0dp"
android:layout_height=
"
5
0dp"
app:layout_constraintTop_toTopOf=
"parent"
>
<ImageView
...
...
@@ -17,10 +17,10 @@
android:layout_width=
"21dp"
android:layout_height=
"20dp"
android:layout_marginStart=
"24dp"
android:
layout_marginTop=
"4dp
"
a
ndroid:src=
"@drawable/ic_close
"
android:
src=
"@drawable/ic_back
"
a
pp:layout_constraintBottom_toBottomOf=
"parent
"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"
@+id/textView3
"
/>
app:layout_constraintTop_toTopOf=
"
parent
"
/>
<TextView
android:id=
"@+id/textView3"
...
...
@@ -33,44 +33,101 @@
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.348"
app:layout_constraintStart_toEndOf=
"@+id/iv_transactions_close"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<
androidx.constraintlayout.widget.ConstraintLayout
<
ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"
807dp
"
android:layout_height=
"
match_parent
"
android:layout_below=
"@+id/cl_bill_header"
android:layout_marginTop=
"1dp"
android:background=
"@color/grey4"
android:fillViewport=
"true"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
>
<include
android:id=
"@+id/cl_tab_analysis"
layout=
"@layout/tab_analysis"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"48dp"
android:layout_marginVertical=
"24dp"
/>
<LinearLayout
android:id=
"@+id/cl_loyalty_info_view_inner"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_below=
"@+id/cl_tab_analysis"
android:background=
"@drawable/shape_cos_loyalty"
android:orientation=
"vertical"
android:paddingBottom=
"24dp"
tools:layout_editor_absoluteX=
"-2dp"
>
android:paddingBottom=
"24dp"
>
<include
android:id=
"@+id/cl_tab_analysis"
layout=
"@layout/tab_analysis_grey_bg"
layout=
"@layout/coupon_transaction"
android:layout_width=
"match_parent"
android:layout_height=
"25dp
"
android:layout_marginTop=
"40
dp"
android:layout_marginHorizontal=
"24
dp"
android:layout_height=
"wrap_content
"
android:layout_marginHorizontal=
"16
dp"
android:layout_marginTop=
"48
dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.511"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<include
android:id=
"@+id/cl_transaction"
layout=
"@layout/coupon_transaction"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"48
dp"
android:layout_marginTop=
"24
dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/cl_tab_analysis
"
/>
app:layout_constraintTop_toTopOf=
"parent
"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<include
layout=
"@layout/coupon_transaction"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"24dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<include
layout=
"@layout/coupon_transaction"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"24dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<include
layout=
"@layout/coupon_transaction"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"24dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<include
layout=
"@layout/coupon_transaction"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"24dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</LinearLayout>
</RelativeLayout>
</ScrollView>
</RelativeLayout>
\ No newline at end of file
...
...
warply_android_sdk/src/main/res/layout/activity_loyalty.xml
View file @
a8127d2
...
...
@@ -37,7 +37,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_below=
"@+id/cl_loyalty_wallet_header"
android:background=
"@color/grey4"
>
android:background=
"@color/grey4"
android:fillViewport=
"true"
>
<RelativeLayout
android:layout_width=
"match_parent"
...
...
warply_android_sdk/src/main/res/layout/coupon_transaction.xml
View file @
a8127d2
...
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:id=
"@+id/cl_transcation_item"
android:layout_width=
"match_parent"
android:layout_height=
"
match_par
ent"
android:layout_height=
"
wrap_cont
ent"
android:background=
"@drawable/banner_border_white3"
android:paddingVertical=
"5dp"
>
...
...
@@ -40,7 +40,7 @@
android:layout_width=
"286dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:
l
ines=
"2"
android:
maxL
ines=
"2"
android:text=
"BOX 4€ έκπτωση για την επόμενη παραγγελία σου!"
android:textColor=
"#355168"
android:textFontWeight=
"1000"
...
...
@@ -54,7 +54,6 @@
android:id=
"@+id/textView20"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"12dp"
android:text=
"26-11-2021"
android:textColor=
"#82355168"
android:textSize=
"12dp"
...
...
Please
register
or
login
to post a comment