codenameone - Image displaced or absent with ImageViewer -


using designer. form has layout boxlayouty. drop imageviewer in it. have pic added through "add picture", 1080 x 1400. add imageviewer.
"simulate device" command gives, in iphone3:

enter image description here

and in nexus (the pic below static: can't scrolled or down):

enter image description here

help?

i have installed app locally on android , same half cut pic in screenshot of nexus simulator.

the overal goal have single form, scrollable vertically, showing pics (adjusted @ width of screen) , text.

edit:
problem resolution of pic. decrease res 350 x 467 , displays fine. pixelize or won't scale fit width of screen on larger devices?

the image viewer doesn't have preferred size since doesn't have image in it. designed usage full screen or within predetermined layout. if place in center of border layout take available space , work expected.

since scales image , allows manipulation of images size, size flexible. if want component takes exact image size should use label.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -