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
2026-03-16 18:14:53 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
daf11762d4471a47b2e7a25f5f016c5a209ca431
daf11762
1 parent
5fce6aa1
map marker view part1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
184 additions
and
1 deletions
warply_android_sdk/build.gradle
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
warply_android_sdk/src/main/res/drawable-xhdpi/demo_close.png
warply_android_sdk/src/main/res/drawable/shape_rectangle_rounded_corners_grey.xml
warply_android_sdk/src/main/res/layout/demo_marker_view.xml
warply_android_sdk/src/main/res/values/colors.xml
warply_android_sdk/src/main/res/values/strings.xml
warply_android_sdk/src/main/res/values/styles.xml
warply_android_sdk/build.gradle
View file @
daf1176
...
...
@@ -5,7 +5,7 @@ android.buildFeatures.buildConfig = true
ext
{
PUBLISH_GROUP_ID
=
'ly.warp'
PUBLISH_VERSION
=
'4.5.5.6deh
5
'
PUBLISH_VERSION
=
'4.5.5.6deh
6
'
PUBLISH_ARTIFACT_ID
=
'warply-android-sdk'
}
...
...
warply_android_sdk/src/main/java/ly/warp/sdk/activities/ShopsActivity.java
View file @
daf1176
This diff is collapsed. Click to expand it.
warply_android_sdk/src/main/res/drawable-xhdpi/demo_close.png
0 → 100644
View file @
daf1176
1.27 KB
warply_android_sdk/src/main/res/drawable/shape_rectangle_rounded_corners_grey.xml
0 → 100644
View file @
daf1176
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"2.5dp"
/>
<solid
android:width=
"0dp"
android:color=
"@color/custom_grey10"
/>
</shape>
\ No newline at end of file
warply_android_sdk/src/main/res/layout/demo_marker_view.xml
0 → 100644
View file @
daf1176
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:background=
"@color/white"
android:paddingHorizontal=
"24dp"
android:paddingVertical=
"8dp"
>
<View
android:id=
"@+id/sheet_view"
android:layout_width=
"48dp"
android:layout_height=
"5dp"
android:layout_centerHorizontal=
"true"
android:background=
"@drawable/shape_rectangle_rounded_corners_grey"
/>
<ImageView
android:id=
"@+id/iv_map_pin_close"
android:layout_width=
"36dp"
android:layout_height=
"36dp"
android:layout_alignParentTop=
"true"
android:layout_alignParentEnd=
"true"
android:background=
"@drawable/shape_rectangle_rounded_grey"
android:padding=
"12dp"
android:src=
"@drawable/demo_close"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/iv_map_pin_close"
>
<ImageView
android:id=
"@+id/iv_pin_logo"
android:layout_width=
"102dp"
android:layout_height=
"102dp"
android:scaleType=
"centerCrop"
android:background=
"@drawable/shape_rectangle_rounded_grey"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<!-- <RelativeLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content">-->
<!-- <LinearLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_toEndOf="@id/iv_pin_logo"-->
<!-- android:layout_toStartOf="@id/iv_map_pin_close"-->
<!-- android:layout_centerVertical="true"-->
<!-- android:orientation="vertical"-->
<!-- android:paddingStart="12dp"-->
<!-- android:paddingEnd="8dp">-->
<!-- <TextView-->
<!-- android:id="@+id/tv_pin_title"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:includeFontPadding="false"-->
<!-- android:textColor="@color/custom_black6"-->
<!-- android:textSize="16sp"-->
<!-- android:textStyle="bold" />-->
<!-- <TextView-->
<!-- android:id="@+id/tv_pin_name"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="2dp"-->
<!-- android:includeFontPadding="false"-->
<!-- android:textColor="@color/custom_grey3"-->
<!-- android:textSize="13sp" />-->
<!-- </LinearLayout>-->
<!-- </RelativeLayout>-->
<!-- <View-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="1dp"-->
<!-- android:layout_marginTop="16dp"-->
<!-- android:layout_marginBottom="16dp"-->
<!-- android:background="@color/custom_grey4" />-->
<!-- <LinearLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center_vertical"-->
<!-- android:orientation="horizontal">-->
<!-- <ImageView-->
<!-- android:layout_width="16dp"-->
<!-- android:layout_height="16dp"-->
<!-- android:src="@android:drawable/ic_dialog_map"-->
<!-- android:tint="@color/custom_grey3" />-->
<!-- <TextView-->
<!-- android:id="@+id/tv_pin_address"-->
<!-- android:layout_width="0dp"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginStart="8dp"-->
<!-- android:layout_weight="1"-->
<!-- android:includeFontPadding="false"-->
<!-- android:textColor="@color/custom_grey3"-->
<!-- android:textSize="13sp" />-->
<!-- </LinearLayout>-->
<!-- <LinearLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="8dp"-->
<!-- android:gravity="center_vertical"-->
<!-- android:orientation="horizontal">-->
<!-- <ImageView-->
<!-- android:layout_width="16dp"-->
<!-- android:layout_height="16dp"-->
<!-- android:src="@android:drawable/ic_menu_call"-->
<!-- android:tint="@color/custom_grey3" />-->
<!-- <TextView-->
<!-- android:id="@+id/tv_pin_tel"-->
<!-- android:layout_width="0dp"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginStart="8dp"-->
<!-- android:layout_weight="1"-->
<!-- android:includeFontPadding="false"-->
<!-- android:textColor="@color/custom_grey3"-->
<!-- android:textSize="13sp" />-->
<!-- </LinearLayout>-->
<!-- <LinearLayout-->
<!-- android:id="@+id/ll_directions"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="48dp"-->
<!-- android:layout_marginTop="20dp"-->
<!-- android:background="@drawable/shape_rectangle_rounded_black2"-->
<!-- android:gravity="center"-->
<!-- android:orientation="horizontal">-->
<!-- <TextView-->
<!-- android:id="@+id/tv_directions"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:includeFontPadding="false"-->
<!-- android:text="@string/lbl_directions"-->
<!-- android:textColor="@color/white"-->
<!-- android:textSize="14sp" />-->
<!-- </LinearLayout>-->
</RelativeLayout>
warply_android_sdk/src/main/res/values/colors.xml
View file @
daf1176
...
...
@@ -41,4 +41,5 @@
<color
name=
"custom_yellow2"
>
#FFEABA
</color>
<color
name=
"custom_gold"
>
#573300
</color>
<color
name=
"custom_grey9"
>
#ADB3B8
</color>
<color
name=
"custom_grey10"
>
#ECEDEF
</color>
</resources>
...
...
warply_android_sdk/src/main/res/values/strings.xml
View file @
daf1176
...
...
@@ -41,4 +41,5 @@
<string
name=
"demo_coupon_expired"
>
Expired
</string>
<string
name=
"demo_partners_title"
>
Partner businesses
</string>
<string
name=
"demo_search_title"
>
Αναζήτηση
</string>
<string
name=
"lbl_directions"
>
Οδηγίες
</string>
</resources>
...
...
warply_android_sdk/src/main/res/values/styles.xml
View file @
daf1176
...
...
@@ -30,4 +30,21 @@
<style
name=
"progressBarBlue"
parent=
"@style/Theme.AppCompat"
>
<item
name=
"colorAccent"
>
@color/custom_light_blue
</item>
</style>
<style
name=
"BottomSheetDialog"
parent=
"Theme.MaterialComponents.Light.BottomSheetDialog"
>
<item
name=
"android:windowIsFloating"
>
false
</item>
<item
name=
"bottomSheetStyle"
>
@style/BottomSheetStyle
</item>
</style>
<style
name=
"BottomSheetStyle"
parent=
"Widget.MaterialComponents.BottomSheet.Modal"
>
<item
name=
"shapeAppearanceOverlay"
>
@style/BottomSheetShapeAppearance
</item>
</style>
<style
name=
"BottomSheetShapeAppearance"
parent=
""
>
<item
name=
"cornerFamily"
>
rounded
</item>
<item
name=
"cornerSizeTopLeft"
>
16dp
</item>
<item
name=
"cornerSizeTopRight"
>
16dp
</item>
<item
name=
"cornerSizeBottomLeft"
>
0dp
</item>
<item
name=
"cornerSizeBottomRight"
>
0dp
</item>
</style>
</resources>
...
...
Please
register
or
login
to post a comment