Strange one here depending on the android version.
I have a layout with lots of buttons on it and one hidden panel.
When one of the buttons is clicked the panel is made visible and should cover all of the buttons but it is behind the buttons so they still show.
I have tried using bringtofront on the panel and sendtoback on the buttons but this has no affect.
If I change the position of the panel so it is over an image then the panel displays fine with the image behind it.
I would prefer not to have to hide all of the buttons when the panel is visible if possible for simplicity.
Anything running less than android 5 works as I would expect but 5 onwards affected by this.
Thanks
I have a layout with lots of buttons on it and one hidden panel.
When one of the buttons is clicked the panel is made visible and should cover all of the buttons but it is behind the buttons so they still show.
I have tried using bringtofront on the panel and sendtoback on the buttons but this has no affect.
If I change the position of the panel so it is over an image then the panel displays fine with the image behind it.
I would prefer not to have to hide all of the buttons when the panel is visible if possible for simplicity.
Anything running less than android 5 works as I would expect but 5 onwards affected by this.
Thanks