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

Path is not rendered as seen in vector preview (drawable-xml) in Android Studio. #43

Open
GaganKainth opened this issue Nov 13, 2018 · 0 comments

Comments

@GaganKainth
Copy link

GaganKainth commented Nov 13, 2018

The path is not rendered at right location when wrapped within a group tag with multiple attributes like:

<group
    android:width="240dp"
    android:height="280dp"
    android:pivotX="120"
    android:pivotY="140"
    android:rotation="-60"
    android:translateX="95"
    android:translateY="33">
    <path
            android:fillColor="#ffaa00"
            android:pathData=" _some-path-data_ "/>
</group>

The resultant path on device is at different screen-location than the preview shows for drawable.xml

@GaganKainth GaganKainth changed the title Path is not rendered as seen in vector preview in Android Studio. Path is not rendered as seen in vector preview (drawable-xml) in Android Studio. Nov 15, 2018
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

1 participant