Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

app crash when load map svg #63

Open
Miteshmakwana73 opened this issue Feb 25, 2020 · 1 comment
Open

app crash when load map svg #63

Miteshmakwana73 opened this issue Feb 25, 2020 · 1 comment

Comments

@Miteshmakwana73
Copy link

Miteshmakwana73 commented Feb 25, 2020

@tarek360
getting this error on load of svg
getting null pointer error some times on click of path

richPathView.setOnPathClickListener { richPath ->
   MyLog.e(TAG,richPath.name)   // error line
}

some times not getting path name i have to click multiple times why it is taking time

this is my code in xml


 <com.richpath.RichPathView
        android:id="@+id/richPathView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:vector="@drawable/ic_map" />
  • it's also not allow me to change android:layout_width or height i'll set particular width and height but it's not changing
  • if i increase size from drawable then it's doesn't show image in all device ex.(if i increase size
android:width="530dp"
   android:height="411dp"

in drawable then it's doesn't show image)

this is my svg file which i am trying to show
https://a.uguu.se/jT23gktObtVY_ic_map.xml

@tarek360
Copy link
Owner

Please share the content of your ic_map.xml file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants