Everytime we defined string, layout, color, id, etc in our xml files it's always appear in R.java.
we can also defined string, layout, etc in our code (not in xml file).
What's the advantages (and maybe disadvantages
) between those 2 approach? I mean, if we defined our string, etc in xml files, does it give a faster access, or maybe the resulting size of the application is smaller than if we defined string, etc in our code?
Thx.





that does what you said.