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-24 16:18:10 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1692d2d8207a902723a3f8ba760314af3581c9ac
1692d2d8
1 parent
332b278f
loyalty profile
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
197 additions
and
0 deletions
warply_android_sdk/src/main/res/drawable-xhdpi/ic_cosmote_logo.png
warply_android_sdk/src/main/res/layout/activity_loyalty.xml
warply_android_sdk/src/main/res/layout/cos_analysis.xml
warply_android_sdk/src/main/res/layout/cos_piechart.xml
warply_android_sdk/src/main/res/drawable-xhdpi/ic_cosmote_logo.png
0 → 100644
View file @
1692d2d
13.6 KB
warply_android_sdk/src/main/res/layout/activity_loyalty.xml
View file @
1692d2d
...
...
@@ -50,6 +50,7 @@
android:layout_height=
"match_parent"
android:background=
"@drawable/shape_cos_loyalty"
android:paddingBottom=
"48dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
...
...
@@ -195,6 +196,31 @@
android:popupBackground=
"@drawable/shape_cos_sky_blue"
android:popupElevation=
"1dp"
android:spinnerMode=
"dropdown"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/sp_redemption"
android:layout_marginTop=
"32dp"
>
<include
android:id=
"@+id/cl_chart"
layout=
"@layout/cos_piechart"
android:layout_width=
"200dp"
android:layout_height=
"200dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<include
layout=
"@layout/cos_analysis"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"32dp"
app:layout_constraintEnd_toEndOf=
"@+id/cl_chart"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/cl_chart"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</RelativeLayout>
</RelativeLayout>
...
...
warply_android_sdk/src/main/res/layout/cos_analysis.xml
0 → 100644
View file @
1692d2d
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<ImageView
android:id=
"@+id/iv_chart_icon1"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:src=
"@drawable/ic_smile"
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:layout_marginStart=
"16dp"
android:text=
"Διασκέδαση"
android:textColor=
"#4D4C58"
android:textSize=
"15sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_chart_icon1"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"60%"
android:textColor=
"#00CB09"
android:textSize=
"17sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginVertical=
"20dp"
>
<ImageView
android:id=
"@+id/iv_chart_icon2"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:src=
"@drawable/ic_cart"
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:layout_marginStart=
"16dp"
android:text=
"Supermarket"
android:textColor=
"#4D4C58"
android:textSize=
"15sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_chart_icon2"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"22%"
android:textColor=
"#9973F3"
android:textSize=
"17sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<ImageView
android:id=
"@+id/iv_chart_icon3"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:src=
"@drawable/ic_plane"
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:layout_marginStart=
"16dp"
android:text=
"Ταξίδια"
android:textColor=
"#4D4C58"
android:textSize=
"15sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@+id/iv_chart_icon3"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"18%"
android:textColor=
"#0072C9"
android:textSize=
"17sp"
android:textStyle=
"bold"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_marginHorizontal=
"16dp"
android:layout_marginTop=
"48dp"
android:background=
"@drawable/shape_cos_gradient"
android:gravity=
"center"
android:paddingHorizontal=
"64dp"
android:text=
"Αναλυτικά"
android:textColor=
"@android:color/white"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
</LinearLayout>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/cos_piechart.xml
0 → 100644
View file @
1692d2d
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"200dp"
android:layout_height=
"200dp"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_vertical_15_guideline"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_constraintGuide_percent=
"0.15"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_vertical_85_guideline"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_constraintGuide_percent=
"0.85"
/>
<ImageView
android:id=
"@+id/iv_chart"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:src=
"@drawable/ic_chart"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/ic_cosmote_logo"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toStartOf=
"@+id/gl_vertical_85_guideline"
app:layout_constraintStart_toEndOf=
"@+id/gl_vertical_15_guideline"
app:layout_constraintTop_toTopOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
Please
register
or
login
to post a comment