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-03-23 19:21:20 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a168c7a51fa12a10ea854039e2a1a9e1c5575fe3
a168c7a5
1 parent
c6de15b7
loyalty gifts
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
54 additions
and
30 deletions
warply_android_sdk/src/main/res/drawable/shape_cos_transparent.xml
warply_android_sdk/src/main/res/drawable/shape_cos_transparent_rounded.xml
warply_android_sdk/src/main/res/drawable/shape_cos_white_rounded_lower.xml
warply_android_sdk/src/main/res/layout/gift_layout.xml
warply_android_sdk/src/main/res/values/colors.xml
warply_android_sdk/src/main/res/drawable/shape_cos_transparent.xml
deleted
100644 → 0
View file @
c6de15b
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"19dp"
/>
<solid
android:color=
"@android:color/holo_red_dark"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/shape_cos_transparent_rounded.xml
0 → 100644
View file @
a168c7a
<?xml version="1.0" encoding="UTF-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<stroke
android:width=
"1.5dp"
android:color=
"@android:color/transparent"
/>
<corners
android:radius=
"19dp"
/>
<solid
android:color=
"@android:color/transparent"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/shape_cos_white_rounded_lower.xml
0 → 100644
View file @
a168c7a
<?xml version="1.0" encoding="UTF-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<stroke
android:width=
"0.5dp"
android:color=
"@android:color/white"
/>
<corners
android:bottomLeftRadius=
"19dp"
android:bottomRightRadius=
"19dp"
/>
<solid
android:color=
"@android:color/white"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/gift_layout.xml
View file @
a168c7a
...
...
@@ -2,35 +2,36 @@
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"360dp"
android:layout_height=
"200dp"
android:layout_marginStart=
"10dp"
android:background=
"@drawable/shape_cos_transparent"
>
android:layout_height=
"240dp"
android:layout_marginStart=
"10dp"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"360dp"
android:layout_height=
"2
0
0dp"
>
android:layout_height=
"2
4
0dp"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_
80
_guideline"
android:id=
"@+id/gl_horizontal_
75
_guideline"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.75"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_horizontal_
75
_guideline"
android:id=
"@+id/gl_horizontal_
50
_guideline"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
app:layout_constraintGuide_percent=
"0.5
5
"
/>
app:layout_constraintGuide_percent=
"0.5"
/>
<ImageView
android:id=
"@+id/iv_gift_item_logo"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"match_parent"
android:background=
"@drawable/shape_cos_transparent_rounded"
android:clipToOutline=
"true"
android:scaleType=
"centerCrop"
android:src=
"@drawable/ic_banner_gift"
app:layout_constraintBottom_toTopOf=
"@+id/gl_horizontal_
80
_guideline"
app:layout_constraintBottom_toTopOf=
"@+id/gl_horizontal_
75
_guideline"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
...
...
@@ -41,14 +42,15 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_
75
_guideline"
>
app:layout_constraintTop_toBottomOf=
"@+id/gl_horizontal_
50
_guideline"
>
<LinearLayout
android:id=
"@+id/ll_loyalty_item1"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/white_tr3"
android:paddingVertical=
"4dp"
>
android:paddingHorizontal=
"16dp"
android:paddingVertical=
"6dp"
>
<TextView
android:layout_width=
"wrap_content"
...
...
@@ -59,33 +61,42 @@
android:textStyle=
"bold"
/>
</LinearLayout>
<
Linear
Layout
<
androidx.constraintlayout.widget.Constraint
Layout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_below=
"@+id/ll_loyalty_item1"
android:background=
"@android:color/white"
android:orientation=
"vertical"
>
android:background=
"@drawable/shape_cos_white_rounded_lower"
android:orientation=
"vertical"
android:paddingHorizontal=
"16dp"
>
<TextView
android:layout_width=
"match_parent"
android:id=
"@+id/tv_loyalty_item_subtitle"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:maxLines=
"2"
android:text=
"2 ώρες δωρεάν απεριόριστα data όποτε θέλεις εσύ, κάθε μήνα!"
android:textColor=
"@color/grey"
android:textSize=
"14sp"
/>
android:textSize=
"16sp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"end"
android:background=
"@drawable/shape_cos_gradient2"
android:paddingEnd=
"8dp"
android:paddingBottom=
"8dp"
android:background=
"@drawable/shape_cos_gradient3"
android:paddingHorizontal=
"12dp"
android:layout_marginBottom=
"16dp"
android:paddingVertical=
"4dp"
android:text=
"Πάρε το δώρο σου"
android:textColor=
"@android:color/white"
android:textFontWeight=
"600"
android:textSize=
"16sp"
/>
</LinearLayout>
android:textSize=
"16sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/tv_loyalty_item_subtitle"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>
\ No newline at end of file
...
...
warply_android_sdk/src/main/res/values/colors.xml
View file @
a168c7a
...
...
@@ -16,5 +16,5 @@
<color
name=
"green_dark"
>
#1DA87A
</color>
<color
name=
"cos_blue2"
>
#0478BE
</color>
<color
name=
"white_tr2"
>
#77FFFFFF
</color>
<color
name=
"white_tr3"
>
#
CC
FFFFFF
</color>
<color
name=
"white_tr3"
>
#
E6
FFFFFF
</color>
</resources>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment