Panel - Bring to front

alfcen

Well-Known Member
Licensed User
Longtime User
Although set to front and color-drawable in the Designer, a panel does not appear to z-index over views based on images. Is there any means to force a panel over all other elements?
 

alfcen

Well-Known Member
Licensed User
Longtime User
Absolutely sure. The image based views were added in code.
If the Panel is added in code as well:

B4X:
Panel1.Initialize("Panel1")
   Activity.AddView(Panel1,0 ,0, 100%x, 100%y)
   Panel1.Color = Colors.Black

then all is fine.

There is no means of confirming the result of "Bring to front" in the Designer.
Anyway, it's fine with me to add that panel in code.

By the way, your answers are too fast :icon_clap:
 
Upvote 0

alfcen

Well-Known Member
Licensed User
Longtime User
That's right, Erel and I now understand why. Also in the code, in order to get to the top, the Panel must be placed after all other views.

I will get the latest Core. Thanks so much!
 
Upvote 0
Top