iOS Question Fill complete screen with a colour or image

rossco_pb

Member
Licensed User
Longtime User
Is there a way to set a colour or image to fill the whole screen, not just the "Page" area? Seems to be a common way apps are implemented on iOS devices and looks really great and yet I cannot find a way to do it in b4i.

Cheers
 

rossco_pb

Member
Licensed User
Longtime User
The navigation bar is slightly transparent. If you put a panel underneath the navigation bar (panel.Top = -40) you will be able to see its color.

Hi Erel, many thanks for prompt response.

I seem unable to make this work. Just using the "MyFirstProgram" code I add a panel with dark background and set top to -40 with designer set to match connected device (iphone 4S) and the panel shows on the actual device under the navigation bar but in designer it shows as expected, ie overlapping the navigation bar. Am using B4i version 2.00

Bit confused...
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You will only see it at runtime. For example I added a red panel and took a screenshot:

upload_2015-9-8_15-50-18.png


It is much less noticeable on the device.
 
Upvote 0

rossco_pb

Member
Licensed User
Longtime User
You will only see it at runtime. For example I added a red panel and took a screenshot:

View attachment 37270

It is much less noticeable on the device.

Sorry for slack response - been away for a few days. Yes, can hardly see the colour on the device which is a bit of a shame (even when using black) and I don't suppose there is any way to just set a background colour on the Navigation bar?

Cheers
 
Upvote 0
Top