Android Screen Orientation Override

Quick way to bypass screen orientation force close error:

http://stackoverflow.com/questions/1410504/android-how-to-make-application-completely-ignore-screen-orientation-change

For the most part, this is all you need to do:

“Open manifest,

switch to Application tab and

select desired Activity you wish to override orientation change behavior.

  1. Within Attributes you need to change two fields: Screen orientation: select either portrait or landscape – whichever is desired. This will be default layout.
  2. Select events for Config changes you wish to override.”
Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s