android - What happens if two resources differ only in their extension in andorid? -
I have a little confusion, when I try to copy the same file in the Drawable folder in Android, The resource already exists with this name "which is absolutely correct then if an image is different Try copying with the compilation, but takes it along with the same filename but only 1 resource ID is generated in the RJJ file. what does this mean? What will the ID point to?
This means that while compiling, it is only capable to create an ID from one of the available resources. Why can not it create both IDs, if it is allowed to have both resources in the same folder? Because for each resource, there is a fixed integer, named file name, except for extension , so naturally, there can not be more than one static integer in one file From the resource? I think that you can not be sure I just tried to recreate the scenario (out of curiosity) and I came to know that this was the resource I finally added! Still, what resources does this tell about, it is irrelevant because it will not allow the app to run PS: If you actually use resources with the same name (difference expansion) If you want to assets
Comments
Post a Comment