JonPM Well-Known Member Licensed User Longtime User Sep 21, 2015 #1 Is it possible to load the correct image size depending on device resolution/scale? For instance placing the same image at different resolutions in: drawable_ldpi drawable_mdpi drawable_hdpi drawable_xhdpi And have Android select which images to use? Or is it better to only use 1 image at highest resolution and scale down for smaller screens?
Is it possible to load the correct image size depending on device resolution/scale? For instance placing the same image at different resolutions in: drawable_ldpi drawable_mdpi drawable_hdpi drawable_xhdpi And have Android select which images to use? Or is it better to only use 1 image at highest resolution and scale down for smaller screens?
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2015 #2 You can use the standard Android resources features with this library: https://www.b4x.com/android/forum/threads/33762/#content In many cases a single high resolution image will provide good enough results. Upvote 0
You can use the standard Android resources features with this library: https://www.b4x.com/android/forum/threads/33762/#content In many cases a single high resolution image will provide good enough results.