I know, I can block orientantion for example if I block landscape, if device rotate 90° the app remain like in vertical.
But I want to know how to:
1) cacth the orientation mode, that is horizontal or vertical; or else catch if the app is in horizontal or vertical?
2) how to define the layout if is horizontal or vertical? There is a way to define both layout?
3) How use the defined layout based of the orientation.
But I want to know how to:
1) cacth the orientation mode, that is horizontal or vertical; or else catch if the app is in horizontal or vertical?
2) how to define the layout if is horizontal or vertical? There is a way to define both layout?
3) How use the defined layout based of the orientation.