This is a Chrome extension for previewing vector drawable. You can check vector drawable files on GitHub or your local.
Please note that this extension requires the background script since v1.2.0
- Show a SVG element which is based on a vector drawable text
background script
watches URL changes andcontent script
renders the SVG element.
yarn prepare
yarn install
yarn dev # Launch a webpack to watch file changes
And then, please load dist/
directory from chrome://extensions
. Your changes in src/js will be synced.
Run the following comannds.
yarn package
extension.zip
will be created at the root path of this repo. You can load it from chrome://extensions
.
This extension doesn't currently support the following:
- animated vector drawable
- android resource references
Please also refer to the code.
Under MIT.