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
2023-04-19 18:27:21 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e9abfb56ede0dad8aab4ec24824c89f993e7034a
e9abfb56
1 parent
68d6f0d3
mfy redesign
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
73 additions
and
40 deletions
.idea/misc.xml
warply_android_sdk/src/main/res/drawable/shape_cos_mfy_rounded.xml
warply_android_sdk/src/main/res/drawable/svg_background_more.xml
warply_android_sdk/src/main/res/layout/activity_more_for_you.xml
warply_android_sdk/src/main/res/layout/item_profile_recycler_vertical.xml
warply_android_sdk/src/main/res/values/styles.xml
.idea/misc.xml
View file @
e9abfb5
...
...
@@ -78,6 +78,7 @@
<entry
key=
"..\:/Users/Warply/Documents/Warply/Android/warply_android_sdk_maven_plugin/warply_android_sdk/src/main/res/drawable/shape_cos_loyalty.xml"
value=
"0.2705"
/>
<entry
key=
"..\:/Users/Warply/Documents/Warply/Android/warply_android_sdk_maven_plugin/warply_android_sdk/src/main/res/drawable/shape_cos_loyalty_no_border.xml"
value=
"0.2965"
/>
<entry
key=
"..\:/Users/Warply/Documents/Warply/Android/warply_android_sdk_maven_plugin/warply_android_sdk/src/main/res/drawable/shape_cos_loyalty_white.xml"
value=
"0.2965"
/>
<entry
key=
"..\:/Users/Warply/Documents/Warply/Android/warply_android_sdk_maven_plugin/warply_android_sdk/src/main/res/drawable/shape_cos_mfy_rounded.xml"
value=
"0.2965"
/>
<entry
key=
"..\:/Users/Warply/Documents/Warply/Android/warply_android_sdk_maven_plugin/warply_android_sdk/src/main/res/drawable/shape_cos_profile.xml"
value=
"0.2705"
/>
<entry
key=
"..\:/Users/Warply/Documents/Warply/Android/warply_android_sdk_maven_plugin/warply_android_sdk/src/main/res/drawable/shape_cos_profile_gradient.xml"
value=
"0.2705"
/>
<entry
key=
"..\:/Users/Warply/Documents/Warply/Android/warply_android_sdk_maven_plugin/warply_android_sdk/src/main/res/drawable/shape_cos_profile_image.xml"
value=
"0.2965"
/>
...
...
warply_android_sdk/src/main/res/drawable/shape_cos_mfy_rounded.xml
0 → 100644
View file @
e9abfb5
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:bottomRightRadius=
"0dp"
android:topLeftRadius=
"20dp"
android:topRightRadius=
"45dp"
android:bottomLeftRadius=
"20dp"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/cos_grey2"
/>
<solid
android:color=
"@color/white"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/drawable/svg_background_more.xml
View file @
e9abfb5
...
...
@@ -3,9 +3,9 @@
android:width=
"318.547dp"
android:height=
"237dp"
android:viewportWidth=
"318.547"
android:viewportHeight=
"2
37
"
>
android:viewportHeight=
"2
42
"
>
<path
android:fillColor=
"#fff"
android:pathData=
"M
318.546,237H5a5.006,5.006,0,0,1-5-5V5A5.006,5.006,0,0,1,5,0H212.609A73.158,73.158,0,0,1,268.8,66h0.2V187a49.958,49.958,0,0,0,49.546,50
Z"
/>
android:pathData=
"M
279.314,242 L20,242 A20,20,0,0,1,0,222 L0,20 A20,20,0,0,1,20,0 L231.651,0 L231.651,193.9 A48.246,48.246,0,0,0,279.314,242 Z M352.088,0.286 C350.479,0.113,348.83,0.018,347.188,0.002 A45.174,45.174,0,0,1,352.088,0.284
Z"
/>
</vector>
\ No newline at end of file
...
...
warply_android_sdk/src/main/res/layout/activity_more_for_you.xml
View file @
e9abfb5
...
...
@@ -4,7 +4,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/cos_
grey5
"
android:background=
"@color/cos_
light_grey3
"
android:fillViewport=
"true"
android:orientation=
"vertical"
>
...
...
@@ -12,15 +12,13 @@
android:id=
"@+id/cl_more_header"
android:layout_width=
"match_parent"
android:layout_height=
"64dp"
android:background=
"@drawable/ic_background_transparent_shadow"
android:translationZ=
"10dp"
>
android:background=
"@color/white"
>
<ImageView
android:id=
"@+id/iv_list_close"
android:layout_width=
"48dp"
android:layout_height=
"48dp"
android:layout_marginStart=
"16dp"
android:layout_marginBottom=
"16dp"
android:scaleType=
"centerInside"
android:src=
"@drawable/ic_back"
app:layout_constraintBottom_toBottomOf=
"parent"
...
...
@@ -29,14 +27,13 @@
<TextView
android:id=
"@+id/textView3"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
BTCosmo-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"16dp"
android:gravity=
"center"
android:text=
"@string/cos_more_title"
android:textColor=
"@color/
grey
"
android:textSize=
"
17
sp"
android:textColor=
"@color/
cos_light_black
"
android:textSize=
"
21
sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
@@ -45,16 +42,14 @@
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"-18dp"
android:orientation=
"vertical"
>
android:layout_height=
"match_parent"
>
<ScrollView
<
androidx.core.widget.Nested
ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:fillViewport=
"true"
android:
scrollbars=
"none
"
android:
overScrollMode=
"never
"
>
android:
overScrollMode=
"never
"
android:
scrollbars=
"none
"
>
<RelativeLayout
android:layout_width=
"match_parent"
...
...
@@ -114,11 +109,11 @@
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:clipToPadding=
"false"
android:scrollbars=
"none"
android:orientation=
"vertical"
android:overScrollMode=
"never"
android:paddingTop=
"44dp"
android:paddingBottom=
"24dp"
android:scrollbars=
"none"
android:visibility=
"gone"
/>
<LinearLayout
...
...
@@ -126,17 +121,18 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:paddingTop=
"44dp"
android:overScrollMode=
"never"
android:layout_marginTop=
"16dp"
android:visibility=
"gone"
>
<TextView
android:id=
"@+id/tv_research_section"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
BTCosmo-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:textColor=
"@
android:color/white
"
android:textSize=
"1
6
sp"
android:textColor=
"@
color/cos_light_black
"
android:textSize=
"1
4
sp"
tools:text=
"ΕΡΕΥΝΑ"
/>
<androidx.recyclerview.widget.RecyclerView
...
...
@@ -144,11 +140,11 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:scrollbars=
"none"
android:clipToPadding=
"false"
android:orientation=
"vertical"
android:overScrollMode=
"never"
android:paddingBottom=
"4dp"
/>
android:paddingBottom=
"4dp"
android:scrollbars=
"none"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -157,16 +153,17 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/ll_research_items"
android:orientation=
"vertical"
android:layout_marginTop=
"12dp"
android:visibility=
"gone"
>
<TextView
android:id=
"@+id/tv_exclusive_section"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
BTCosmo-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:textColor=
"@
android:color/white
"
android:textSize=
"1
6
sp"
android:textColor=
"@
color/cos_light_black
"
android:textSize=
"1
4
sp"
tools:text=
"ΕΡΕΥΝΑ"
/>
<androidx.recyclerview.widget.RecyclerView
...
...
@@ -175,10 +172,10 @@
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:clipToPadding=
"false"
android:scrollbars=
"none"
android:orientation=
"vertical"
android:overScrollMode=
"never"
android:paddingBottom=
"4dp"
/>
android:paddingBottom=
"4dp"
android:scrollbars=
"none"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -187,16 +184,17 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/ll_exclusive_items"
android:orientation=
"vertical"
android:layout_marginTop=
"12dp"
android:visibility=
"gone"
>
<TextView
android:id=
"@+id/tv_contest_section"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
BTCosmo-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:textColor=
"@
android:color/white
"
android:textSize=
"1
6
sp"
android:textColor=
"@
color/cos_light_black
"
android:textSize=
"1
4
sp"
tools:text=
"ΕΡΕΥΝΑ"
/>
<androidx.recyclerview.widget.RecyclerView
...
...
@@ -204,11 +202,11 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:scrollbars=
"none"
android:clipToPadding=
"false"
android:orientation=
"vertical"
android:overScrollMode=
"never"
android:paddingBottom=
"4dp"
/>
android:paddingBottom=
"4dp"
android:scrollbars=
"none"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -217,16 +215,17 @@
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/ll_contest_items"
android:orientation=
"vertical"
android:layout_marginTop=
"12dp"
android:visibility=
"gone"
>
<TextView
android:id=
"@+id/tv_contextual_section"
fontPath=
"fonts/
pf_square_sans_pro_b
old.ttf"
fontPath=
"fonts/
BTCosmo-B
old.ttf"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"16dp"
android:textColor=
"@
android:color/white
"
android:textSize=
"1
6
sp"
android:textColor=
"@
color/cos_light_black
"
android:textSize=
"1
4
sp"
tools:text=
"ΕΡΕΥΝΑ"
/>
<androidx.recyclerview.widget.RecyclerView
...
...
@@ -234,13 +233,13 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:scrollbars=
"none"
android:clipToPadding=
"false"
android:orientation=
"vertical"
android:overScrollMode=
"never"
android:paddingBottom=
"4dp"
/>
android:paddingBottom=
"4dp"
android:scrollbars=
"none"
/>
</LinearLayout>
</RelativeLayout>
</ScrollView>
</
androidx.core.widget.Nested
ScrollView>
</RelativeLayout>
</LinearLayout>
\ No newline at end of file
...
...
warply_android_sdk/src/main/res/layout/item_profile_recycler_vertical.xml
View file @
e9abfb5
This diff is collapsed. Click to expand it.
warply_android_sdk/src/main/res/values/styles.xml
View file @
e9abfb5
...
...
@@ -38,7 +38,7 @@
<item
name=
"windowActionBar"
>
false
</item>
<item
name=
"windowNoTitle"
>
true
</item>
</style>
<style
name=
"ShapeAppearanceProfileImage"
parent=
""
>
<item
name=
"cornerFamilyTopLeft"
>
rounded
</item>
<item
name=
"cornerFamilyBottomRight"
>
rounded
</item>
...
...
@@ -46,4 +46,24 @@
<item
name=
"cornerSizeBottomRight"
>
19dp
</item>
</style>
<style
name=
"CustomCardViewStyle"
parent=
"@style/Widget.MaterialComponents.CardView"
>
<item
name=
"shapeAppearanceOverlay"
>
@style/CardCustomCorners
</item>
</style>
<style
name=
"CardCustomCorners"
parent=
""
>
<item
name=
"cornerFamily"
>
rounded
</item>
<item
name=
"cornerSizeTopRight"
>
45dp
</item>
<item
name=
"cornerSizeTopLeft"
>
20dp
</item>
<item
name=
"cornerSizeBottomRight"
>
0dp
</item>
<item
name=
"cornerSizeBottomLeft"
>
20dp
</item>
</style>
<style
name=
"ShapeAppearanceMfyImage"
parent=
""
>
<item
name=
"cornerFamilyTopRight"
>
rounded
</item>
<item
name=
"cornerFamilyBottomRight"
>
rounded
</item>
<item
name=
"cornerSizeTopRight"
>
45dp
</item>
<item
name=
"cornerSizeBottomRight"
>
0dp
</item>
</style>
</resources>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment