How to rotate views on orientation change without recreating layout?
This question has been asked before here but its answer is incorrect. I would like to rotate some views on screen orientation change, but I want to keep the layout unchanged. They should be rotated 90, 180, 270 or 360 degrees according to the current orientation ( SCREEN_ORIENTATION_LANDSCAPE , SCREEN_ORIENTATION_PORTRAIT , SCREEN_ORIENTATION_REVERSE_LANDSCAPE , SCREEN_ORIENTATION_REVERSE_PORTRAIT ). This is what I want to achieve: The answer in the link I mentioned stated that I should create a new different layout in layout-land . Clearly, this is not what I want. I don't want to recreate