I tend to think of it as a reduction that is related to the location of resources, therefore:
In normal setup, it will be something like this:
@ drawable / icon = / PROJECT_ROOT / res / drawable / icon.png
@ string / hello = / PROJECT_ROOT / res / values ββ/ strings.xml (element called hello)
This seems like an additional problem, but it actually works very well. It also facilitates internationalization and various screen sizes. You simply declare additional resource files for different country codes and layouts, and Android chooses the best match for you.
This internationalization document here may make it clearer why they decided to do it this way.
allclaws
source share