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-28 15:13:27 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3c866c0fc9293777addbfcd6a997945e458c505e
3c866c0f
1 parent
f26d1407
fixes in home
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
8 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 @
3c866c0
19.4 KB
warply_android_sdk/src/main/res/drawable/shape_cos_gradient_coupons_bg.xml
0 → 100644
View file @
3c866c0
<?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 @
3c866c0
...
...
@@ -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 @
3c866c0
...
...
@@ -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>
...
...
@@ -121,7 +127,6 @@
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 +146,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 +237,5 @@
</LinearLayout>
</HorizontalScrollView>
</RelativeLayout>
</RelativeLayout>
</ScrollView>
...
...
warply_android_sdk/src/main/res/values-xhdpi/dimens.xml
View file @
3c866c0
<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 @
3c866c0
<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 @
3c866c0
...
...
@@ -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