Skip to content

jacobmoncur/SketchVectorDrawable

Repository files navigation

Export Android VectorDrawable

Exports assets as a VectorDrawable for Android. Say goodbye to a bajillion assets.

screenshot

Supports VectorDrawable as well as vector-compat.

Added in the option to generate a VectorDrawable without the compat options.

Installing Plugins

The conventional way:

  1. Download the ZIP file with the Measure
  2. Copy the contents to the plugin folder (Open up Sketch, and go to PluginsReveal Plugins Folder… to open it.)

The quickest way:

NOTE: If your Mac has not installed GitHub client, You need to install GitHub for mac

  1. Click on the Clone in Desktop button on GitHub
  2. Press command + shift + g to find plugin folder, then paste plugin folder path

Plugin Folder Path

  • App Store ~/Library/Containers/com.bohemiancoding.sketch3/Data/Library/Application Support/com.bohemiancoding.sketch3/Plugins
  • Beta ~/Library/Application Support/com.bohemiancoding.sketch3/Plugins

Shortcuts

  • Export: cmd + shift + ;

Props to:

  • svg2android. Svg to VectorDrawable webpage (super cool). A lot of the translation is based off this.
  • sketch-export-assets. What I based this sketch plugin off of.

About

Sketch plugin that exports Android VectorDrawables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published