简体   繁体   中英

Correct drawable folder for SVG assets

I assume the correct folder is drawable-nodpi.

I just need to know this so that I can set up PNGexpress in Photoshop to generate the folder automatically (on asset export) and know that im not forcing my developers to move the files around a bunch on their end.

Fire and forget type approach - best to be sure than assume though!

Thanks!

If you create the SVG from inside of Android Studio it puts the file inside the drawable folder. You can check it here: https://developer.android.com/studio/write/vector-asset-studio.html in the 7 step of the section "Adding a material icon".

So, with this, I would choice to use the drawable folder to keep the same behavior as Android Studio.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM