I'm testing my app on various platforms and have discovered that in Android 6.0.1 loading a new layout (created in visual designer) in the same module leaves the buttons from the previous layout on the screen. Other things like labels disappear but not buttons. I have tried setting those buttons to .enabled = false and .visible = false but they do not disappear and remain functional.
That worked to hide the buttons but not disable them. If you touched the area on the screen where the button used to be it would execute. I added .enabled = false in code to finally stop the button from functioning. Why only in A6.0???