Hello, how to convert svg to vector assets in flee...
# fleet
d
Hello, how to convert svg to vector assets in fleet like in android studio ?
r
I am using this to achieve this. It's not within Fleet, but I like the output way better.
❤️ 1
a
Hi @Dinesh Rijal! in the upcoming version of Fleet 1.42 we introduce a new action to convert SVGs to Android vector drawables: • you can select multiple SVGs in the file tree, right click and select "Convert to VectorDrawable" • while having an SVG opened in the editor, you can invoke the Actions Menu and then search for e.g. convert, svg, vector drawable • a notification to suggest converting-on-paste when SVGs are pasted in the project's file tree inside Fleet please follow the ticket FL-28195 in case you have any feedback on the feature, or please create new issues in the Fleet tracker, should you encounter any issues with it, thank you! and also, you will be able to preview vector drawables right inside Fleet! FL-26665
👀 3
a
If you're going to do a conversion, why not convert to Kotlin source like https://composables.com/svg-to-compose so there's 1. much less storage 2. no runtime overhead
a
Hi! since the two conversions don't cover the same use cases, and they don't exclude each other as well, we can always add another conversion if there is user demand for it!
🙌 1