Skip to main content
August 2, 2011
Question

Device Orientation Portrait in either direction (default or upside down)

  • August 2, 2011
  • 1 reply
  • 365 views

Hello:

I am working on an app for Android tablets in Air 2.7. I want to restrict the aspect ratio to portrait, but I want to allow it to be upside and well as "default" for portrait. It seems when I set "aspectRatio" to "portrait" in the .xml file, the orientation is restricted to only the "default" and not "upside down".

This was pretty simple on the iPhone, is there a way to allow either orientation for portrait on the Android device?

Thanks!

This topic has been closed for replies.

1 reply

Inspiring
August 4, 2011

As far as I know, upside down doesnt work in AIR for android.