android layout-land and screen-rotation handling
Posted
by
davs
on Stack Overflow
See other posts from Stack Overflow
or by davs
Published on 2011-01-12T17:52:36Z
Indexed on
2011/01/12
17:53 UTC
Read the original article
Hit count: 173
I have layouts for portrait mode (in folder layout) and for landscape one (in the folder layout-land). This screen is located under one of the tabs, so I had to handle screen rotating (after screen has been rotated, no default screen restart occurs).
I would like to update view from 'layout-land' when screen rotates to landscape mode and from 'layout' when screen rotates to portrait one.
How can I do this?
© Stack Overflow or respective owner