Comments (6)
@wysgh please provide me with the whole XML file.
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
???????????
???????????
???????????
>
<path
android:pathData="m81 508 910 -24 6 254 -914 28 -2 -258z"
android:strokeColor="#000"
android:strokeLineCap="round"
android:strokeLineJoin="round"
android:strokeWidth="6"/>
</vector>
from richpath.
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportHeight="1080" android:viewportWidth="1080">
from richpath.
@wysgh I have tested it and it works fine, please add more details about your issue.
from richpath.
richPathView = (RichPathView) findViewById(R.id.richPathView); richPathView.setVectorDrawable(R.drawable.ic_day9);
I use the same XMLfile,but it not work, My Phone is Nexus 7
from richpath.
@wysgh I can't find any problem, I have tested it on Nexus 7 emulator and it works fine also, is that happen on other devices?
from richpath.
Hi @wysgh
I will close the issue, but if you still have a problem please reopen it and notify me.
Thank you.
from richpath.
Related Issues (20)
- PathEffect HOT 1
- Path added using addPath not visible HOT 1
- please tarek could you add the zoom to the richpath HOT 1
- [FIXED] if the vector not exist in first time but after some seconds the app will crash.
- [FIXED] the click listener on RichPath would be specific if the offset=0 in PathUtils.class because if you zoom * 14 and click in path it will handle the click of next path.
- app crash when load map svg HOT 1
- android.content.res.Resources$NotFoundException: Can't find ColorStateList from drawable HOT 2
- Load Svg from String HOT 2
- crash on load :did not set the measured dimension by calling setMeasuredDimension() HOT 1
- Unresolved reference: richPathView Kotlin HOT 1
- Would it be possible to retrieve the paths coordinates within a view? HOT 1
- Crash on Android 4.1 and 4.4 - Binary XML file line #94: Error inflating class com.richpath.RichPathView HOT 2
- Detecting which group is clicked HOT 3
- Double/Long click path listener HOT 2
- Flow animation HOT 4
- Stop animation
- Can we set vector drawable from server and then access the path attribute?
- Non-SDK usage causing RichPathView.setVectorDrawable to throw an exception when targeting API Level 31 HOT 1
- Richpath and RichpathView code
- Working with large size SVG images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from richpath.