Android Question [SOLVED] Button added, but Z order wrong

saunwin

Active Member
Licensed User
Longtime User
Hi,

I have an app that switches panels (visible) off and on. The main activity has buttons and edit text boxes.
I just added a button to my activity but this added button sits on top of the panels that get switched off and on.
Do I really need to switch this button off and on everytime a panel is switch on ?
What am I missing here ?

TIA
 

saunwin

Active Member
Licensed User
Longtime User
The button called OCR sits on top of any panel that is now switched on

1586087440006.png
 
Upvote 0

rosippc64a

Active Member
Licensed User
Longtime User
Perfect place.
I don't know.
I remember I encountered such a weird case, but was good only if I play by removing and adding newly, or playing to set its parent (even to bad parent and good)
 
Upvote 0
Top