Java – place the application icon in the Android project

This is a stupid question, so I'm sorry. If I was asked before but I can't find the answer, I'm not even sure whether it's important, but:

If I want to add icons to my android app, not just app icons, but other icons and graphics Which folder do I put it in, or how should I add them? I am using Android studio to create my Android application. I know that the main icon (launcher icon) of the application is located in RES / drawable-x, but do I also place other graphics and icons? I checked the document and searched so and Google, but only found the answer related to the application launcher icon

Solution

You put all the icons and images in RES / drawable XXX folder, for example:

>/ RES / drawable MDPI – resources with medium pixel density > / RES / drawable hdpi – resources with high pixel density > / RES / drawable port – resources for portrait mode only

More information: providing resources

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>