How to know device/emulator layout (landscape/portrait) is changed

Posted by android_novice on Stack Overflow See other posts from Stack Overflow or by android_novice
Published on 2010-05-21T10:01:52Z Indexed on 2010/05/21 10:10 UTC
Read the original article Hit count: 115

Filed under:

I am using two xml layout file layoutPotrait.xml and layoutLandscape.xml.When device/emulator is in portrait mode i want to select layoutPortrait.xml and vice versa.How can i acheive this ? Thanks.

© Stack Overflow or respective owner

Related posts about android