[android-developers] Re: version-specific attributes in AndroidManifest.xml

2011-08-03 Thread thedude
Thanks - that worked! On Jul 22, 3:36 pm, nadam a...@anyro.se wrote: I don't think there is any way to do that in the manifest. However, you can remove android:screenOrientationfrom the manifest and set it in the activity's onCreate() method instead: if (Build.VERSION.SDK_INT

[android-developers] Re: version-specific attributes in AndroidManifest.xml

2011-07-22 Thread nadam
I don't think there is any way to do that in the manifest. However, you can remove android:screenOrientation from the manifest and set it in the activity's onCreate() method instead: if (Build.VERSION.SDK_INT Build.VERSION_CODES.GINGERBREAD)