Skip to end of metadata
Go to start of metadata

For Android applications, you can limit the view of an application to either "landscape" or "potrait" exclusively; in essence disabling rotation for your application.

To do this, find the main activity in your AndroidManifest.xml (it should be visible at the bottom of your project folder in Eclipse) and add the following line:

or

So, your activity section in your xml should look something like this:

Labels
  • No labels