In general, there is a 2 layout , one of them is Invisible , the other is Visible , but when you turn the screen, both become Visible , why is it becoming so? How to make Invisible and Visible stay in place when the screen is flipped?

    1 answer 1

    Should remain those visibility values, which were indicated in the markup.

    If you specify these values ​​programmatically, then you need to save these values ​​in the Bundle and, when recreating the activation, pull them out and assign them again.