There are some things that makes me doubt about your explanation:
- If the image is 768x4096, and therefore does not need scaling on 768x1024 device, it shows ok on that device. - The image also shows fine if I add this to the code. img = img.scaledWidth(Display.getInstance().getDisplayWidth()); Right before: l.getAllStyles().setBackgroundType(Style.BACKGROUND_IMAGE_SCALED_FIT); l.getAllStyles().setBgImage(img); So it seems that there is something wrong in the process of scaling when using the background image scaled. Can it be fixed? If not, I guess that I'll have to scale the images on the server side. I have tried Cloudinary and works fine, but I'm not sure the free cuota is enough for me... -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/3093d409-55f0-4901-a812-efe3530d7b51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
