Hello!
Can eat already somewhere an example of a subject? Be it a blog, or a chapter in a book.
Poke me, please nose :)
Thank!
A cho poke it? Detect the turn of the layout, and launch the desired Activity
in this place.
Or am I missing something?
also not badly corny but for the start it’s often the very thing
too, the lessons about the obd are written very well in detail programming from scratch ... there are also a lot of things there is a list of articles very tasty
cheer
I found the answer myself. In order to automatically change the Activity when changing orientation, you need to create in the project folder "res / layout-land" an xml-file with the same name as in vertical orientation. Thus, in the folder "res / layout" - portrait orientation, and in the folder "res / layout-land" - landscape.
Source: https://ru.stackoverflow.com/questions/163847/
All Articles