I want to remove the .png files that I used for my native script android app and add .svg files instead of those.I want to use svg images for spash screen ,backgrounds and all icons,buttons.
Thanks
I want to remove the .png files that I used for my native script android app and add .svg files instead of those.I want to use svg images for spash screen ,backgrounds and all icons,buttons.
Thanks
If you want to use SVG within your app, you must use nativescript-svg plugin.
To use SVG in your splash screen, you will have to update splash_screen.xml
from App_Resources/Android/src/main/res/drawable-nodpi
.
You may replace the default item
with something like below
<item android:drawable="@drawable/mysvg" android:gravity="center"/>