Re: [mono-android] Orientation Change

2012-08-27 Thread Greg Shackles
You can specify the orientation of an activity by using the ScreenOrientation property in the activity's attribute: [Activity(ScreenOrientation = ScreenOrientation.Portrait)] public class MyActivity : Activity On Mon, Aug 27, 2012 at 10:28 AM, MysteriX wrote: > And.. can you tell me how

Re: [mono-android] Orientation Change

2012-08-27 Thread Goncalo Oliveira
Add an attribute to the activity if you want to lock in a certain orientation. [Activity( Label = "My Activity", ScreenOrientation = Android.Content.PM.ScreenOrientation.Portrait )] public class MyActivity : Activity On 27 August 2012 15:28, MysteriX wrote: > And.. can you tell me how

Re: [mono-android] Orientation Change

2012-08-27 Thread MysteriX
And.. can you tell me how to completly disallow the orientation change? it will not be allowed to be changed.. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Orientation-Change-tp5711555p5711557.html Sent from the Mono for Android mailing list archive at Nabble.

Re: [mono-android] Orientation Change

2012-08-27 Thread James Montemagno
http://docs.xamarin.com/android/tutorials/Handling_Rotation On Mon, Aug 27, 2012 at 6:28 AM, MysteriX wrote: > Hallo > i have aquestions: > how do i notice a orientation change? if the Portrait mode is left and the > Landscape mode appears, a new layout have to be loaded. > > > > > > -- > View th

[mono-android] Orientation Change

2012-08-27 Thread MysteriX
Hallo i have aquestions: how do i notice a orientation change? if the Portrait mode is left and the Landscape mode appears, a new layout have to be loaded. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Orientation-Change-tp5711555.html Sent from the Mono for A