I have a form which I would like to use as a splash screen, showing an 
image.


I added a JPEG as a multi-image, maintaining the default DPIs.


I created a new style in the default theme, with the component name equal 
to the UIID of the form I'm targeting.


In the "background" tab of the style, I unchecked "Derive", and selected 
the image in the drop-down.


In the "border" tab of the style, I unchecked "Derive", and selected 
"empty" border style.


In the "color" tab of the style, I unchecked "Derive" for each of the three 
options (foreground, background, transparency).


But in the Resource Editor simulator, and the device simulator, the splash 
screen was totally black.


So I created a container in the form, and gave it the UIID. Now in the 
Resource Editor, I saw the image in the form preview! But when running, it 
was still black.


The style preview, at the bottom of the style editing dialog, always showed 
the top of the image I'm trying to display. But no matter what happens, the 
simulator (and the app itself) never show this image.


Is there a subtle step that I'm missing?


Thanks!


PS, on this page https://www.codenameone.com/manual/appendix-ios.html your 
pixel sizes are reversed; they are in the form (y, x) instead of (x, y).

-- 
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/539e555f-62cf-4e91-99eb-a6dfa14d7992%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to