I have some buttons in a layout, created in the designer. I've even right clicked them and selected 'send to back' in the designer. In the same layout, I have a panel that contains various labels etc - pnlInfo, also created in the designer.
In the Main activity, I create a new panel, add it to the activity then set it to 'BringToFront' since I want it to be in front of everything else
It's initially off screen to the right. Later I animate the panel it in to the left. When it comes into view, it covers the pnlInfo but it does not cover the buttons. The buttons are still above the new Panel.
So my question is, why are the buttons still above the panel?
In the Main activity, I create a new panel, add it to the activity then set it to 'BringToFront' since I want it to be in front of everything else
B4X:
' CREATE PANEL TO HOLD THE GAMES
pnlGame.Initialize("pnlGame")
pnlGame.Color = Colors.Blue
Activity.AddView(pnlGame, 100%x, 0, 100%x, 100%y)
pnlGame.BringToFront
It's initially off screen to the right. Later I animate the panel it in to the left. When it comes into view, it covers the pnlInfo but it does not cover the buttons. The buttons are still above the new Panel.
So my question is, why are the buttons still above the panel?