-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: also support Android VectorDrawable , or create a similar tool for it #105
Comments
That sounds like a reasonable request. If QT (which does the actual "drawing" for this extension) supports it directly that should be easy, if not it may be possible to convert to an svg internally, then use the current code. The likely "hardest" part is to register that for XML while not breaking other XML previews. Note: for recent Windows versions you may want to try the MS File Explorer Addons and if it doesn't work with those currently create an issue there. |
@GitMensch What is this other addon? Also I don't see it mentioned there that it's supported. |
The MS file explorer addons, which are part of the "revamped" Powertoys (now MIT-licensed and community-driven) only work on "reasonable new" Windows versions, while this addition also works for much older (actually I haven't used that on W10 any more since I've started to use the other addon). |
@GitMensch OK thanks. Requested here: |
Currently this is the only plugin I know for Explorer on Windows OS to show SVG files.
I like this tool very much.
As I'm an Android developer, I have both SVG files and VectorDrawable files.
Android itself doesn't support SVG files directly. It requires either a special library to render it (which most apps don't do it, as it's very complex) or uses a similar format called "VectorDrawable". It's XML-based and offers less functionality than SVG. Thing is that only the IDE (Android Studio) can show previews of it, and maybe some online tools (for conversion between the two). In the past, I remember the conversion (in the IDE) was pretty bad, choosing wrong colors or just failed. Over time it became a bit better.
I would like to request to either support it here on this tool (with option to enable/disable it for those that don't want it), or create a similar tool just for it.
Examples of VectorDrawable files can be found on each sub-folder of "...res/drawable/" in :
https://github.com/google/material-design-icons/tree/master/android
Example:
https://github.com/google/material-design-icons/tree/master/android/action/3d_rotation/materialicons/black/res/drawable
The text was updated successfully, but these errors were encountered: