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

some path do not show sometime? #13

Closed
WNervous opened this issue Sep 5, 2017 · 6 comments
Closed

some path do not show sometime? #13

WNervous opened this issue Sep 5, 2017 · 6 comments

Comments

@WNervous
Copy link

WNervous commented Sep 5, 2017

<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" />

@tarek360
Copy link
Owner

@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>

@WNervous
Copy link
Author

<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportHeight="1080" android:viewportWidth="1080">

@tarek360
Copy link
Owner

@wysgh I have tested it and it works fine, please add more details about your issue.

@WNervous
Copy link
Author

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

@tarek360
Copy link
Owner

@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?

@tarek360
Copy link
Owner

Hi @wysgh

I will close the issue, but if you still have a problem please reopen it and notify me.

Thank you.

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