我的活动有以下元数据:
, MainLauncher = true
, Icon = "@drawable/icon"
, Theme = "@style/Theme.Splash"
, AlwaysRetainTaskState = true
, LaunchMode = LaunchMode.SingleTask
, ScreenOrientation = ScreenOrientation.Landscape
, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden)]
根据文档activity,它说SensorLandscape应该基于传感器进行翻转,而Landscape应该保持在风景中而不会翻转。但是,每当我将屏幕旋转180度时,它就会翻转。如何将其保存在一个单一的环境中?