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
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
9 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,19 +93,26 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/rl_header"
android:background=
"@drawable/home_bg"
>
<RelativeLayout
android:id=
"@+id/rl_home_campaigns"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/rl_header"
android:layout_marginTop=
"16dp"
>
android:layout_marginTop=
"50dp"
>
<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>
...
...
@@ -115,13 +121,13 @@
android:id=
"@+id/rl_home_coupons"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/rl_home_campaigns"
>
android:layout_below=
"@id/rl_home_campaigns"
android:background=
"@drawable/shape_cos_gradient_coupons_bg"
>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/rv_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"
...
...
@@ -141,7 +147,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"40dp"
android:layout_below=
"@+id/rl_home_info_widget"
android:layout_marginTop=
"20
dp"
android:layout_marginTop=
"25
dp"
android:background=
"@android:color/white"
android:paddingHorizontal=
"25dp"
android:paddingTop=
"10dp"
...
...
@@ -232,4 +238,5 @@
</LinearLayout>
</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