Not sure if this is the same, but I put this in my AndroidManifest.xml:

<activity android:screenOrientation="portrait"

On Thursday, August 23, 2012 7:51:54 AM UTC-5, baturanija1 wrote:
>
> i suggest that to use one orientation of screen: try this code-it shows 
> your app only in Portal orientation-but it is optional for your taste :)
>
> super.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to