Add to your manifest
android:screenOrientation="landscape"

On Feb 26, 1:13 pm, mobidyc <[email protected]> wrote:
> Hi,
>
> I want to set the preferred orientation for the system, How can I
> define it ?
>
> I tried to define in landscape with :
> android.provider.Settings.System.putInt(getContentResolver(),
> "user_rotation", Surface.ROTATION_90);
> and even with the disabled ACCELEROMETER_ROTATION setting, It doesn't
> work.
>
> Can you help ?

-- 
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