XperiAndri.Interactivity.Orientation is the library that allows to changed visual state depending on device orientation without any line of code