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-28 15:25:43 +0300
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
22731d911c93480ca08595ba59a41ccb10e0b746
22731d91
2 parents
3bb14592
559b5fc4
Merge remote-tracking branch 'origin/cosmote' into cosmote
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
145 additions
and
122 deletions
warply_android_sdk/src/main/res/drawable-xhdpi/home_bg.png
warply_android_sdk/src/main/res/drawable/shape_cos_gradient_coupons_bg.xml
warply_android_sdk/src/main/res/layout/carousel_item.xml
warply_android_sdk/src/main/res/layout/fragment_home.xml
warply_android_sdk/src/main/res/values-xhdpi/dimens.xml
warply_android_sdk/src/main/res/values-xxhdpi/dimens.xml
warply_android_sdk/src/main/res/values/colors.xml
warply_android_sdk/src/main/res/drawable-xhdpi/home_bg.png
0 → 100644
View file @
22731d9
19.4 KB
warply_android_sdk/src/main/res/drawable/shape_cos_gradient_coupons_bg.xml
0 → 100644
View file @
22731d9
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<gradient
android:startColor=
"@color/cos_green3"
android:centerColor=
"@color/cos_cyan"
android:type=
"linear"
/>
<!-- <corners-->
<!-- android:radius="9dp"/>-->
<!-- <stroke android:width="2dp"-->
<!-- android:color="@color/white_tr"/>-->
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/carousel_item.xml
View file @
22731d9
...
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"@dimen/width_full"
android:layout_height=
"
240dp
"
android:layout_height=
"
@dimen/height_carousel
"
android:layout_marginLeft=
"10dp"
android:background=
"@drawable/bottom_border"
>
...
...
warply_android_sdk/src/main/res/layout/fragment_home.xml
View file @
22731d9
...
...
@@ -4,8 +4,7 @@
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=
"@color/cos_cyan"
>
android:layout_height=
"match_parent"
>
<RelativeLayout
android:layout_width=
"match_parent"
...
...
@@ -18,7 +17,7 @@
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:paddingHorizontal=
"16dp"
android:padding
Vertical
=
"16dp"
>
android:padding
Top
=
"16dp"
>
<de.hdodenhof.circleimageview.CircleImageView
android:id=
"@+id/user_img"
...
...
@@ -94,142 +93,150 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout
android:id=
"@+id/rl_home_campaigns"
android:layout_width=
"match_parent"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/rl_header"
android:
layout_marginTop=
"16dp
"
>
android:layout_below=
"@
+
id/rl_header"
android:
background=
"@drawable/home_bg
"
>
<
androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/r
v
_home_campaigns"
<
RelativeLayout
android:id=
"@+id/r
l
_home_campaigns"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
android:clipToPadding=
"false"
android:orientation=
"horizontal"
android:paddingStart=
"10dp"
android:paddingEnd=
"10dp"
/>
</RelativeLayout>
android:layout_marginTop=
"50dp"
>
<LinearLayout
android:id=
"@+id/rl_home_coupons"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/rl_home_campaigns"
>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_home_campaigns"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
android:background=
"#80FFFFFF"
android:clipToPadding=
"false"
android:orientation=
"horizontal"
android:paddingVertical=
"15dp"
android:paddingStart=
"10dp"
android:paddingEnd=
"10dp"
/>
</RelativeLayout>
<
androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/r
v
_home_coupons"
<
LinearLayout
android:id=
"@+id/r
l
_home_coupons"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
android:clipToPadding=
"false"
android:orientation=
"horizontal"
android:paddingStart=
"10dp"
android:paddingEnd=
"10dp"
/>
</LinearLayout>
<include
android:id=
"@+id/rl_home_info_widget"
layout=
"@layout/info_widget"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/rl_home_coupons"
android:layout_marginHorizontal=
"8dp"
/>
android:layout_below=
"@id/rl_home_campaigns"
android:background=
"@drawable/shape_cos_gradient_coupons_bg"
>
<TextView
android:id=
"@+id/hsv_title"
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:layout_below=
"@+id/rl_home_info_widget"
android:layout_marginTop=
"20dp"
android:background=
"@android:color/white"
android:paddingHorizontal=
"25dp"
android:paddingTop=
"10dp"
android:text=
"Βρες γρήγορα"
android:textColor=
"#3C464F"
/>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_home_coupons"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:clipToPadding=
"false"
android:orientation=
"horizontal"
android:paddingStart=
"10dp"
android:paddingEnd=
"10dp"
/>
</LinearLayout>
<HorizontalScrollView
android:id=
"@+id/ll_add"
android:layout_width=
"match_parent"
android:layout_height=
"110dp"
android:layout_below=
"@id/hsv_title"
android:background=
"@android:color/white"
android:paddingBottom=
"10dp"
android:scrollbars=
"none"
>
<include
android:id=
"@+id/rl_home_info_widget"
layout=
"@layout/info_widget"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/rl_home_coupons"
android:layout_marginHorizontal=
"8dp"
/>
<LinearLayout
<TextView
android:id=
"@+id/hsv_title"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:divider=
"@drawable/divider"
android:showDividers=
"middle"
>
android:layout_height=
"40dp"
android:layout_below=
"@+id/rl_home_info_widget"
android:layout_marginTop=
"25dp"
android:background=
"@android:color/white"
android:paddingHorizontal=
"25dp"
android:paddingTop=
"10dp"
android:text=
"Βρες γρήγορα"
android:textColor=
"#3C464F"
/>
<HorizontalScrollView
android:id=
"@+id/ll_add"
android:layout_width=
"match_parent"
android:layout_height=
"110dp"
android:layout_below=
"@id/hsv_title"
android:background=
"@android:color/white"
android:paddingBottom=
"10dp"
android:scrollbars=
"none"
>
<LinearLayout
android:id=
"@+id/ll_bill_payment"
android:layout_width=
"150dp"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:orientation=
"vertical"
android:paddingHorizontal=
"10dp"
>
<ImageView
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:src=
"@drawable/doc"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:gravity=
"center"
android:scrollHorizontally=
"true"
android:text=
"Πληρωμή λογαριασμού"
android:textAlignment=
"center"
android:textColor=
"#3C464F"
/>
</LinearLayout>
android:divider=
"@drawable/divider"
android:showDividers=
"middle"
>
<LinearLayout
android:layout_width=
"150dp"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:orientation=
"vertical"
android:paddingHorizontal=
"10dp"
>
<ImageView
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:src=
"@drawable/message"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
<LinearLayout
android:id=
"@+id/ll_bill_payment"
android:layout_width=
"150dp"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:scrollHorizontally=
"true"
android:text=
"Υποστήριξη"
android:textAlignment=
"center"
android:textColor=
"#3C464F"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"150dp"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:orientation=
"vertical"
android:paddingHorizontal=
"10dp"
>
<ImageView
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:src=
"@drawable/doc"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:orientation=
"vertical"
android:paddingHorizontal=
"10dp"
>
<ImageView
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:src=
"@drawable/doc"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:gravity=
"center"
android:scrollHorizontally=
"true"
android:text=
"Πληρωμή λογαριασμού"
android:textAlignment=
"center"
android:textColor=
"#3C464F"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"150dp"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:orientation=
"vertical"
android:paddingHorizontal=
"10dp"
>
<ImageView
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:src=
"@drawable/message"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:gravity=
"center"
android:scrollHorizontally=
"true"
android:text=
"Υποστήριξη"
android:textAlignment=
"center"
android:textColor=
"#3C464F"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"150dp"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:scrollHorizontally=
"true"
android:text=
"Πληρωμή λογαριασμού"
android:textAlignment=
"center"
android:textColor=
"#3C464F"
/>
android:orientation=
"vertical"
android:paddingHorizontal=
"10dp"
>
<ImageView
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:src=
"@drawable/doc"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:gravity=
"center"
android:scrollHorizontally=
"true"
android:text=
"Πληρωμή λογαριασμού"
android:textAlignment=
"center"
android:textColor=
"#3C464F"
/>
</LinearLayout>
</LinearLayout>
</
LinearLayout
>
</
HorizontalScrollView
>
</
HorizontalScrollView
>
</
RelativeLayout
>
</RelativeLayout>
</ScrollView>
...
...
warply_android_sdk/src/main/res/values-xhdpi/dimens.xml
View file @
22731d9
<resources>
<dimen
name=
"width_full"
>
360dp
</dimen>
<dimen
name=
"height_carousel"
>
240dp
</dimen>
</resources>
...
...
warply_android_sdk/src/main/res/values-xxhdpi/dimens.xml
View file @
22731d9
<resources>
<dimen
name=
"width_full"
>
320dp
</dimen>
<dimen
name=
"height_carousel"
>
220dp
</dimen>
</resources>
...
...
warply_android_sdk/src/main/res/values/colors.xml
View file @
22731d9
...
...
@@ -13,6 +13,7 @@
<color
name=
"cos_cyan"
>
#A3F2DA
</color>
<color
name=
"grey_light"
>
#f1f1f2
</color>
<color
name=
"cos_green2"
>
#52DF5A
</color>
<color
name=
"cos_green3"
>
#68BB7E
</color>
<color
name=
"green_dark"
>
#1DA87A
</color>
<color
name=
"cos_blue2"
>
#0478BE
</color>
<color
name=
"white_tr2"
>
#77FFFFFF
</color>
...
...
Please
register
or
login
to post a comment