Android concept hdpi xhdpi mdpi ldpi for Android

I have one request in an understandable concept. I have images with fixed sizes and I put them in a selectable folder. I deleted other folders such as drawable-hdpi, mdpi, ldpi, xhdpi from the eclipse project and made the APK of my project.

My question is that my application (generated apk) will work on all devices and tablets (I'm not interested in what the user interface will look like)? Or can it throw an Exception ResourceNotFound on some devices / tablets as there aren’t all the folders available?

-1
source share
2 answers

Folders without any qualifiers (layout, selecting, raw, values, etc.) are the default folders. Android searches for every resource in them if it is not found in folders suitable for this device. If you have a copy of any resource in them, you should never get a ResourceNotFound exception for this particular resource, unless the manufacturer enters an error into its ROM.

+5
source

As long as you have a folder with the ability to draw, then when the OS searches for others and does not find them, it will only determine the available available folder.

0
source

All Articles