AnsweredAssumed Answered

Android portrait mode and rotation

Question asked by Toxic Avenger on Jun 5, 2013
Latest reply on Jun 12, 2013 by Toxic Avenger

Hello,

In my project screen should be in portrait mode, not in landscape like in default i.MX53 with seiko 4.3 screen.

To get this mode i set in init.rc:

setprop ro.FSL_LANDSCAPE_MODE 0
setprop ro.sf.hwrotation 270

Now orientation is ok, but I have problems with automatic rotation.

When I turn on automatic rotation, my screen is rotated 90 anti clockwise.

 

How to get proper screen rotation and working automatic rotation?

 

Best regards,

Toxic

Outcomes