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
thkouk00
2022-03-24 16:22:55 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1f13db7a6980c4d2d5557431e74c16cd1afff0b3
1f13db7a
1 parent
1692d2d8
couponInfo v1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
214 additions
and
1 deletions
warply_android_sdk/src/main/res/drawable/banner_border_light_blue.xml
warply_android_sdk/src/main/res/drawable/button_border_dark_blue.xml
warply_android_sdk/src/main/res/drawable/shape_cos_coupon_info.xml
warply_android_sdk/src/main/res/layout/activity_coupon_info.xml
warply_android_sdk/src/main/res/layout/payment_success_dialog.xml
warply_android_sdk/src/main/res/values/strings.xml
warply_android_sdk/src/main/res/drawable/banner_border_light_blue.xml
0 → 100644
View file @
1f13db7
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#EEF7FF"
/>
<stroke
android:width=
"3dp"
android:color=
"#EEF7FF"
/>
<corners
android:radius=
"10dp"
/>
<padding
android:left=
"0dp"
android:top=
"0dp"
android:right=
"0dp"
android:bottom=
"0dp"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/button_border_dark_blue.xml
0 → 100644
View file @
1f13db7
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#415564"
/>
<stroke
android:width=
"3dp"
android:color=
"#415564"
/>
<corners
android:radius=
"10dp"
/>
<padding
android:left=
"0dp"
android:top=
"0dp"
android:right=
"0dp"
android:bottom=
"0dp"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/shape_cos_coupon_info.xml
0 → 100644
View file @
1f13db7
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:topLeftRadius=
"30dp"
/>
<solid
android:color=
"@color/white"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/activity_coupon_info.xml
0 → 100644
View file @
1f13db7
<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:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@android:color/white"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_loyalty_wallet_header"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:background=
"@android:color/white"
>
<ImageView
android:id=
"@+id/iv_back"
android:layout_width=
"20dp"
android:layout_height=
"20dp"
android:layout_marginStart=
"16dp"
android:src=
"@drawable/ic_back"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/cos_coupon_info_title"
android:textColor=
"@color/grey"
android:textSize=
"17sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_below=
"@+id/cl_loyalty_wallet_header"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:paddingTop=
"48dp"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/cl_loyalty_info_view_inner"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/shape_cos_coupon_info"
android:paddingBottom=
"48dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<TextView
android:id=
"@+id/textView13"
android:layout_width=
"374dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:text=
"Πάρε δωρεάν μηνιαία πακέτα με πάνες στα supermarket Σκλαβενίτης!"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.432"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/imageView6"
/>
<ImageView
android:id=
"@+id/imageView6"
android:layout_width=
"444dp"
android:layout_height=
"224dp"
android:scaleType=
"fitXY"
android:src=
"@drawable/carousel_banner"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/textView14"
android:layout_width=
"374dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:text=
"Χρησιμοποίησε τον παρακάτω κωδικό και πάρε δωρεάν πακέτο πάνες Pampers αποκλειστικά στα Supermarket Σκλαβενίτης"
app:layout_constraintEnd_toEndOf=
"@+id/textView13"
app:layout_constraintHorizontal_bias=
"0.0"
app:layout_constraintStart_toStartOf=
"@+id/textView13"
app:layout_constraintTop_toBottomOf=
"@+id/textView13"
/>
<TextView
android:id=
"@+id/textView15"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"Κωδικός Κουπονιού"
app:layout_constraintBottom_toTopOf=
"@+id/textView16"
app:layout_constraintEnd_toEndOf=
"@+id/textView14"
app:layout_constraintStart_toStartOf=
"@+id/textView14"
app:layout_constraintTop_toBottomOf=
"@+id/textView14"
/>
<TextView
android:id=
"@+id/textView16"
android:layout_width=
"320dp"
android:layout_height=
"53dp"
android:background=
"@drawable/banner_border_light_blue"
android:gravity=
"center"
android:text=
"1A2C378"
android:textFontWeight=
"1000"
android:textSize=
"25dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
tools:layout_editor_absoluteY=
"445dp"
/>
<TextView
android:id=
"@+id/textView17"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"16dp"
android:text=
"Το κουπόνι ισχύει έως 05/12/2022"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/textView16"
/>
<TextView
android:id=
"@+id/textView18"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
android:text=
"Όροι χρήσης"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/ll_get_gift"
/>
<LinearLayout
android:id=
"@+id/ll_gift_it"
android:layout_width=
"318dp"
android:layout_height=
"52dp"
android:layout_marginTop=
"44dp"
android:background=
"@drawable/button_border_dark_blue"
android:clickable=
"true"
android:gravity=
"center"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.494"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/textView17"
>
<ImageView
android:layout_width=
"34dp"
android:layout_height=
"25dp"
android:layout_marginRight=
"15dp"
android:adjustViewBounds=
"true"
android:scaleType=
"fitCenter"
android:src=
"@drawable/phone_white"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"Κάντο δώρο!"
android:textSize=
"17dp"
android:textColor=
"@color/white"
/>
</LinearLayout>
<LinearLayout
android:id=
"@+id/ll_get_gift"
android:layout_width=
"318dp"
android:layout_height=
"52dp"
android:layout_marginTop=
"24dp"
android:background=
"@drawable/shape_cos_gradient2"
android:clickable=
"true"
android:gravity=
"center"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.516"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/ll_gift_it"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"Πάρε το δώρο σου"
android:textSize=
"17dp"
android:textColor=
"@color/white"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
</RelativeLayout>
warply_android_sdk/src/main/res/layout/payment_success_dialog.xml
View file @
1f13db7
...
...
@@ -141,7 +141,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:text=
"
Day Free COSMOTE TV pass στο κινητό
"
android:text=
"
Δωρεάν κουπόνι ΙΚΕΑ αξίας 10€
"
android:textSize=
"17dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
warply_android_sdk/src/main/res/values/strings.xml
View file @
1f13db7
...
...
@@ -24,6 +24,7 @@
<string
name=
"cos_questionnaire"
>
Ερωτηματολόγιο
</string>
<string
name=
"cos_gifts_loyalty_title"
>
Τα δώρα μου
</string>
<string
name=
"cos_coupons_loyalty_title"
>
Ενεργά κουπόνια
</string>
<string
name=
"cos_coupon_info_title"
>
Εκπτωτικό κουπόνι
</string>
<string-array
name=
"coupons_array"
>
<item>
Κουπόνια
</item>
...
...
Please
register
or
login
to post a comment