Panagiotis Triantafyllou

map marker view part1

...@@ -5,7 +5,7 @@ android.buildFeatures.buildConfig = true ...@@ -5,7 +5,7 @@ android.buildFeatures.buildConfig = true
5 5
6 ext { 6 ext {
7 PUBLISH_GROUP_ID = 'ly.warp' 7 PUBLISH_GROUP_ID = 'ly.warp'
8 - PUBLISH_VERSION = '4.5.5.6deh5' 8 + PUBLISH_VERSION = '4.5.5.6deh6'
9 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 9 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
10 } 10 }
11 11
......
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<shape xmlns:android="http://schemas.android.com/apk/res/android"
3 + android:shape="rectangle">
4 + <corners android:radius="2.5dp" />
5 +
6 + <solid
7 + android:width="0dp"
8 + android:color="@color/custom_grey10" />
9 +</shape>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 + android:layout_width="match_parent"
4 + android:layout_height="wrap_content"
5 + xmlns:app="http://schemas.android.com/apk/res-auto"
6 + android:background="@color/white"
7 + android:paddingHorizontal="24dp"
8 + android:paddingVertical="8dp">
9 +
10 + <View
11 + android:id="@+id/sheet_view"
12 + android:layout_width="48dp"
13 + android:layout_height="5dp"
14 + android:layout_centerHorizontal="true"
15 + android:background="@drawable/shape_rectangle_rounded_corners_grey" />
16 +
17 + <ImageView
18 + android:id="@+id/iv_map_pin_close"
19 + android:layout_width="36dp"
20 + android:layout_height="36dp"
21 + android:layout_alignParentTop="true"
22 + android:layout_alignParentEnd="true"
23 + android:background="@drawable/shape_rectangle_rounded_grey"
24 + android:padding="12dp"
25 + android:src="@drawable/demo_close" />
26 +
27 + <androidx.constraintlayout.widget.ConstraintLayout
28 + android:layout_width="match_parent"
29 + android:layout_height="wrap_content"
30 + android:layout_below="@+id/iv_map_pin_close">
31 + <ImageView
32 + android:id="@+id/iv_pin_logo"
33 + android:layout_width="102dp"
34 + android:layout_height="102dp"
35 + android:scaleType="centerCrop"
36 + android:background="@drawable/shape_rectangle_rounded_grey"
37 + app:layout_constraintTop_toTopOf="parent"
38 + app:layout_constraintBottom_toBottomOf="parent"
39 + app:layout_constraintStart_toStartOf="parent"/>
40 + </androidx.constraintlayout.widget.ConstraintLayout>
41 +
42 + <!-- <RelativeLayout-->
43 + <!-- android:layout_width="match_parent"-->
44 + <!-- android:layout_height="wrap_content">-->
45 +
46 +
47 +
48 + <!-- <LinearLayout-->
49 + <!-- android:layout_width="match_parent"-->
50 + <!-- android:layout_height="wrap_content"-->
51 + <!-- android:layout_toEndOf="@id/iv_pin_logo"-->
52 + <!-- android:layout_toStartOf="@id/iv_map_pin_close"-->
53 + <!-- android:layout_centerVertical="true"-->
54 + <!-- android:orientation="vertical"-->
55 + <!-- android:paddingStart="12dp"-->
56 + <!-- android:paddingEnd="8dp">-->
57 +
58 + <!-- <TextView-->
59 + <!-- android:id="@+id/tv_pin_title"-->
60 + <!-- android:layout_width="wrap_content"-->
61 + <!-- android:layout_height="wrap_content"-->
62 + <!-- android:includeFontPadding="false"-->
63 + <!-- android:textColor="@color/custom_black6"-->
64 + <!-- android:textSize="16sp"-->
65 + <!-- android:textStyle="bold" />-->
66 +
67 + <!-- <TextView-->
68 + <!-- android:id="@+id/tv_pin_name"-->
69 + <!-- android:layout_width="wrap_content"-->
70 + <!-- android:layout_height="wrap_content"-->
71 + <!-- android:layout_marginTop="2dp"-->
72 + <!-- android:includeFontPadding="false"-->
73 + <!-- android:textColor="@color/custom_grey3"-->
74 + <!-- android:textSize="13sp" />-->
75 +
76 + <!-- </LinearLayout>-->
77 + <!-- </RelativeLayout>-->
78 +
79 + <!-- <View-->
80 + <!-- android:layout_width="match_parent"-->
81 + <!-- android:layout_height="1dp"-->
82 + <!-- android:layout_marginTop="16dp"-->
83 + <!-- android:layout_marginBottom="16dp"-->
84 + <!-- android:background="@color/custom_grey4" />-->
85 +
86 + <!-- <LinearLayout-->
87 + <!-- android:layout_width="match_parent"-->
88 + <!-- android:layout_height="wrap_content"-->
89 + <!-- android:gravity="center_vertical"-->
90 + <!-- android:orientation="horizontal">-->
91 +
92 + <!-- <ImageView-->
93 + <!-- android:layout_width="16dp"-->
94 + <!-- android:layout_height="16dp"-->
95 + <!-- android:src="@android:drawable/ic_dialog_map"-->
96 + <!-- android:tint="@color/custom_grey3" />-->
97 +
98 + <!-- <TextView-->
99 + <!-- android:id="@+id/tv_pin_address"-->
100 + <!-- android:layout_width="0dp"-->
101 + <!-- android:layout_height="wrap_content"-->
102 + <!-- android:layout_marginStart="8dp"-->
103 + <!-- android:layout_weight="1"-->
104 + <!-- android:includeFontPadding="false"-->
105 + <!-- android:textColor="@color/custom_grey3"-->
106 + <!-- android:textSize="13sp" />-->
107 +
108 + <!-- </LinearLayout>-->
109 +
110 + <!-- <LinearLayout-->
111 + <!-- android:layout_width="match_parent"-->
112 + <!-- android:layout_height="wrap_content"-->
113 + <!-- android:layout_marginTop="8dp"-->
114 + <!-- android:gravity="center_vertical"-->
115 + <!-- android:orientation="horizontal">-->
116 +
117 + <!-- <ImageView-->
118 + <!-- android:layout_width="16dp"-->
119 + <!-- android:layout_height="16dp"-->
120 + <!-- android:src="@android:drawable/ic_menu_call"-->
121 + <!-- android:tint="@color/custom_grey3" />-->
122 +
123 + <!-- <TextView-->
124 + <!-- android:id="@+id/tv_pin_tel"-->
125 + <!-- android:layout_width="0dp"-->
126 + <!-- android:layout_height="wrap_content"-->
127 + <!-- android:layout_marginStart="8dp"-->
128 + <!-- android:layout_weight="1"-->
129 + <!-- android:includeFontPadding="false"-->
130 + <!-- android:textColor="@color/custom_grey3"-->
131 + <!-- android:textSize="13sp" />-->
132 +
133 + <!-- </LinearLayout>-->
134 +
135 + <!-- <LinearLayout-->
136 + <!-- android:id="@+id/ll_directions"-->
137 + <!-- android:layout_width="match_parent"-->
138 + <!-- android:layout_height="48dp"-->
139 + <!-- android:layout_marginTop="20dp"-->
140 + <!-- android:background="@drawable/shape_rectangle_rounded_black2"-->
141 + <!-- android:gravity="center"-->
142 + <!-- android:orientation="horizontal">-->
143 +
144 + <!-- <TextView-->
145 + <!-- android:id="@+id/tv_directions"-->
146 + <!-- android:layout_width="wrap_content"-->
147 + <!-- android:layout_height="wrap_content"-->
148 + <!-- android:includeFontPadding="false"-->
149 + <!-- android:text="@string/lbl_directions"-->
150 + <!-- android:textColor="@color/white"-->
151 + <!-- android:textSize="14sp" />-->
152 +
153 + <!-- </LinearLayout>-->
154 +
155 +</RelativeLayout>
...@@ -41,4 +41,5 @@ ...@@ -41,4 +41,5 @@
41 <color name="custom_yellow2">#FFEABA</color> 41 <color name="custom_yellow2">#FFEABA</color>
42 <color name="custom_gold">#573300</color> 42 <color name="custom_gold">#573300</color>
43 <color name="custom_grey9">#ADB3B8</color> 43 <color name="custom_grey9">#ADB3B8</color>
44 + <color name="custom_grey10">#ECEDEF</color>
44 </resources> 45 </resources>
......
...@@ -41,4 +41,5 @@ ...@@ -41,4 +41,5 @@
41 <string name="demo_coupon_expired">Expired</string> 41 <string name="demo_coupon_expired">Expired</string>
42 <string name="demo_partners_title">Partner businesses</string> 42 <string name="demo_partners_title">Partner businesses</string>
43 <string name="demo_search_title">Αναζήτηση</string> 43 <string name="demo_search_title">Αναζήτηση</string>
44 + <string name="lbl_directions">Οδηγίες</string>
44 </resources> 45 </resources>
......
...@@ -30,4 +30,21 @@ ...@@ -30,4 +30,21 @@
30 <style name="progressBarBlue" parent="@style/Theme.AppCompat"> 30 <style name="progressBarBlue" parent="@style/Theme.AppCompat">
31 <item name="colorAccent">@color/custom_light_blue</item> 31 <item name="colorAccent">@color/custom_light_blue</item>
32 </style> 32 </style>
33 +
34 + <style name="BottomSheetDialog" parent="Theme.MaterialComponents.Light.BottomSheetDialog">
35 + <item name="android:windowIsFloating">false</item>
36 + <item name="bottomSheetStyle">@style/BottomSheetStyle</item>
37 + </style>
38 +
39 + <style name="BottomSheetStyle" parent="Widget.MaterialComponents.BottomSheet.Modal">
40 + <item name="shapeAppearanceOverlay">@style/BottomSheetShapeAppearance</item>
41 + </style>
42 +
43 + <style name="BottomSheetShapeAppearance" parent="">
44 + <item name="cornerFamily">rounded</item>
45 + <item name="cornerSizeTopLeft">16dp</item>
46 + <item name="cornerSizeTopRight">16dp</item>
47 + <item name="cornerSizeBottomLeft">0dp</item>
48 + <item name="cornerSizeBottomRight">0dp</item>
49 + </style>
33 </resources> 50 </resources>
......