The framework of Android development tutorial adds resource resources such as string resources and pictures

Add string

Add a string in Android frameworks / base / core / RES / RES / values. For example, add a string in string.xml

You also need to add one in the public.xml file of frameworks / base / core / RES / RES / values

Add picture

Add a list in Android frameworks / base / core / RES / RES / drawable hdpi_ selector_ pressed_ holo_ Picture of dark.

If you need to use this image in Java, you need to add it in frameworks / base / core / RES / RES / values

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
分享
二维码
< <上一篇
下一篇>>