Android 应用程序对接时严重崩溃

Android 应用程序对接时严重崩溃,android,xamarin.android,Android,Xamarin.android,我的Xamarin Android应用程序在平板电脑从摇篮上停靠或松开时崩溃,我不知道从哪里开始 支架只有电源,根本没有usb连接 通过usb连接平板电脑时不会崩溃 平板电脑上的其他应用程序都没有同样的问题 我已尝试使用停止应用程序切换到“汽车”模式 UiModeManager amanger = (UiModeManager)Application.Context.GetSystemService(Context.UiModeService); amange

我的Xamarin Android应用程序在平板电脑从摇篮上停靠或松开时崩溃,我不知道从哪里开始

  • 支架只有电源,根本没有usb连接
  • 通过usb连接平板电脑时不会崩溃
  • 平板电脑上的其他应用程序都没有同样的问题
我已尝试使用停止应用程序切换到“汽车”模式

        UiModeManager amanger = (UiModeManager)Application.Context.GetSystemService(Context.UiModeService);
        amanger?.DisableCarMode(DisableCarModeFlags.None);
但这没用

调试输出显示:

Thread finished: <Thread Pool> #2
The thread 'Unknown' (0x2) has exited with code 0 (0x0).
[0:] interrupted
Thread finished: UdpReceiveThread #11
The thread 'Unknown' (0xb) has exited with code 0 (0x0).
02-24 10:48:30.869 I/art     (16696): Explicit concurrent mark sweep GC freed 43206(2MB) AllocSpace objects, 7(253KB) LOS objects, 44% free, 19MB/35MB, paused 1.553ms total 67.023ms
02-24 10:48:30.919 D/Mono    (16696): GC_TAR_BRIDGE bridges 5451 objects 6861 colors 5451 ignored 485 sccs 5451 xref 45 cache 0/0 setup 1.39ms tarjan 9.60ms scc-setup 3.91ms gather-xref 0.37ms xref-setup 0.08ms cleanup 1.98ms
02-24 10:48:30.919 D/Mono    (16696): GC_BRIDGE: Complete, was running for 159.38ms
02-24 10:48:30.919 D/Mono    (16696): GC_MAJOR: (user request) time 77.69ms, stw 78.71ms los size: 4096K in use: 1740K
02-24 10:48:30.919 D/Mono    (16696): GC_MAJOR_SWEEP: major size: 4672K in use: 3096K
线程已完成:#2
线程“未知”(0x2)已退出,代码为0(0x0)。
[0:]中断
螺纹加工:UdPreciveThread#11
线程“未知”(0xb)已退出,代码为0(0x0)。
02-24 10:48:30.869 I/art(16696):显式并发标记扫描GC释放了43206(2MB)个AllocSpace对象,7(253KB)个LOS对象,44%空闲,19MB/35MB,暂停1.553ms总计67.023ms
02-24 10:48:30.919 D/Mono(16696):GC_TAR_BRIDGE bridges 5451对象6861颜色5451忽略485 sccs 5451外部参照45缓存0/0设置1.39ms tarjan 9.60ms scc设置3.91ms采集外部参照0.37ms外部参照设置0.08ms清理1.98ms
02-24 10:48:30.919 D/Mono(16696):GC_桥:完成,运行159.38毫秒
02-24 10:48:30.919 D/Mono(16696):GC_专业:(用户请求)时间77.69ms,stw 78.71ms服务水平大小:4096K使用中:1740K
02-24 10:48:30.919 D/单声道(16696):GC_大调_扫掠:大调尺寸:4672K使用中:3096K
(顺便说一句:线程已完成:udprecivethread#11是因为在Dispose中我们清理了套接字。因此这是结果,而不是应用程序崩溃的原因。)

LogCat没有向我显示很多有趣的信息:

02-24 10:48:30.239: E/SmartFaceService(990): onReceive: android.intent.action.DOCK_EVENT
02-24 10:48:30.299: W/BackupManagerService(990): dataChanged but no participant pkg='com.android.providers.settings' uid=1001
02-24 10:48:30.319: I/SecKeyguardClockSingleView(1221): Ignore. Because it is same clock text
02-24 10:48:30.319: W/MotionRecognitionService(990): onReceive() getIntExtra 1
02-24 10:48:30.319: I/AudioPolicyManager(346): setForceUse() usage 3, config 7, mPhoneState 0
02-24 10:48:30.329: I/AudioPolicyManager(346): setOutputDevice() setting same device 0000 or null device for output 2
02-24 10:48:30.329: I/AudioPolicyManager(346): setOutputDevice() setting same device 0000 or null device for output 4
02-24 10:48:30.339: I/PERF(1221): received broadcast android.intent.action.BATTERY_CHANGED
02-24 10:48:30.349: I/ActivityManager(990): Config changes=200 {0 1.0 ?mcc?mnc en_AU ?layoutDir sw600dp w961dp h576dp 213dpi lrg land desk finger -keyb/v/h -nav/h mkbd/? s.83}
02-24 10:48:30.379: I/SamsungIME(3463): [Before] hardKeyboardHidden(2) keyboardType(1)
02-24 10:48:30.379: I/SamsungIME(3463):          mHwKeyboardShown [isHWKeyboardOpen()] = false --> false
02-24 10:48:30.379: E/SamsungIME(3463):          isHWKeyboardConnected() = false --> false
02-24 10:48:30.379: I/SamsungIME(3463): [hasToCallSuper] true
02-24 10:48:30.389: I/SurfaceFlinger(322): id=1221 createSurf (800x1280),2 flag=4, TcreenshotS
02-24 10:48:30.399: I/PERF(1221): KeyguardViewMediator - onConfigurationChanged()
02-24 10:48:30.409: W/ScoverManager(1221): getCoverState : This device is not supported cover
02-24 10:48:30.419: I/ValidateNoPeople(990): skipping global notification
02-24 10:48:30.429: E/SmartFaceService(990): onReceive: android.intent.action.CONFIGURATION_CHANGED
02-24 10:48:30.429: E/SmartFaceService(990): mFolderCoverOpened: (true, true) -> true
02-24 10:48:30.439: E/Tethering(990): No numeric data
02-24 10:48:30.439: I/Telecom(990): CallAudioManager : turning speaker : true
02-24 10:48:30.439: I/Telecom(990): : received EVENT_DOCK_STATE_CHANGED. Phone inDock = true state=1
02-24 10:48:30.449: I/AudioPolicyManager(346): setForceUse() usage 0, config 1, mPhoneState 0
02-24 10:48:30.449: I/AudioPolicyManager(346): setOutputDevice() setting same device 0000 or null device for output 2
02-24 10:48:30.449: I/AudioPolicyManager(346): setOutputDevice() setting same device 0000 or null device for output 4
02-24 10:48:30.449: I/LocationManagerService(990): remove 31e0e601 by com.google.android.gms
02-24 10:48:30.459: I/PageBuddyNotiSvc(15563): Intent received : action=android.intent.action.DOCK_EVENT
02-24 10:48:30.459: I/PageBuddyNoti(15563): mCPBroadcastReceiver action=android.intent.action.DOCK_EVENT
02-24 10:48:30.479: E/WifiStateMachine(990): WifiStateMachine CMD_START_SCAN source 10008 txSuccessRate=0.25 rxSuccessRate=0.22 targetRoamBSSID=any RSSI=-36
02-24 10:48:30.479: I/wpa_supplicant(1199): wlan0: Setting scan request: 0 sec 0 usec
02-24 10:48:30.479: I/wpa_supplicant(1199): P2P: Current p2p state = IDLE
02-24 10:48:30.479: I/wpa_supplicant(1199): Scan requested (ret=0) - scan timeout 30 seconds
02-24 10:48:30.479: I/Sandman(990): Dreams currently disabled for docks.
02-24 10:48:30.539: E/LocSvc_utils_cfg(990): W/loc_read_sec_gps_conf: no secgps conf file, using defaults
02-24 10:48:30.539: I/SecKeyguardClockSingleView(1221): Ignore. Because it is same clock text
02-24 10:48:30.539: E/LocSvc_ApiV02(990): I/virtual loc_api_adapter_err LocApiV02::startFix(const LocPosMode&):428]: position_mode=0.
02-24 10:48:30.669: I/PhoneStatusBar(1221): Icon Only
02-24 10:48:30.669: I/StatusBar(1221): Icon Only
02-24 10:48:30.679: I/PhoneStatusBar(1221): Icon Only
02-24 10:48:30.679: I/StatusBar(1221): Icon Only

-------> APP is gone here <--------

02-24 10:48:30.869: I/art(16696): Explicit concurrent mark sweep GC freed 43206(2MB) AllocSpace objects, 7(253KB) LOS objects, 44% free, 19MB/35MB, paused 1.553ms total 67.023ms
02-24 10:48:31.009: I/WindowState(990): WIN DEATH: Window{3c5c909 u0 d0 my_app_tablet.my_app_tablet}
02-24 10:48:31.019: I/LocationManagerService(990): remove 1561a80 by my_app_tablet.my_app_tablet
02-24 10:48:31.019: I/ActivityManager(990): Process my_app_tablet.my_app_tablet (pid 16696)(adj 0) has died(144,547)
02-24 10:48:31.019: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop mState=4
02-24 10:48:31.019: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop() sendCommand(0x194, OMX_CommandStateSet, OMX_StateIdle)
02-24 10:48:31.019: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(3) -> Dest(2)
02-24 10:48:31.019: I/OMXCodec(346): [OMX.SEC.mp3.dec] Now Idle. Component sends idle done Event 
02-24 10:48:31.019: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(2) -> Dest(1)
02-24 10:48:31.019: I/OMXCodec(346): [OMX.SEC.mp3.dec] stopOmxComponent_l() mstate = 1
02-24 10:48:31.019: I/SecVideoCapture(346): SecVideoCapture destructor
02-24 10:48:31.019: I/SecVideoCapture(346): reset
02-24 10:48:31.019: I/SecMediaClock(346): SecMediaClock destructor
02-24 10:48:31.029: W/ActivityManager(990): Force removing ActivityRecord{7563305 u0 my_app_tablet.my_app_tablet/md5dc5ad32ea713dd0841d86c7c17d74757.MainActivityView t183}: app died, no saved state
02-24 10:48:31.029: I/WindowState(990): WIN DEATH: Window{2e8aa90d u0 d0 my_app_tablet.my_app_tablet/md5dc5ad32ea713dd0841d86c7c17d74757.MainActivityView}
02-24 10:48:31.029: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop mState=4
02-24 10:48:31.029: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop() sendCommand(0x195, OMX_CommandStateSet, OMX_StateIdle)
02-24 10:48:31.029: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(3) -> Dest(2)
02-24 10:48:31.029: I/OMXCodec(346): [OMX.SEC.mp3.dec] Now Idle. Component sends idle done Event 
02-24 10:48:31.029: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(2) -> Dest(1)
02-24 10:48:31.029: I/OMXCodec(346): [OMX.SEC.mp3.dec] stopOmxComponent_l() mstate = 1
02-24 10:48:31.039: I/SecVideoCapture(346): SecVideoCapture destructor
02-24 10:48:31.039: I/SecVideoCapture(346): reset
02-24 10:48:31.039: I/SecMediaClock(346): SecMediaClock destructor
02-24 10:48:31.039: I/SurfaceFlinger(322): id=1220 Removed NainActivit (4/8)
02-24 10:48:31.039: I/SurfaceFlinger(322): id=1220 Removed NainActivit (-2/8)
02-24 10:48:31.049: W/SurfaceFlinger(322): couldn't log to binary event log: overflow.
02-24 10:48:31.049: W/InputDispatcher(990): channel ~ Consumer closed input channel or an error occurred.  events=0x9
02-24 10:48:31.049: E/InputDispatcher(990): channel ~ Channel is unrecoverably broken and will be disposed!
02-24 10:48:31.049: W/InputDispatcher(990): channel ~ Consumer closed input channel or an error occurred.  events=0x9
02-24 10:48:31.049: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop mState=4
02-24 10:48:31.049: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop() sendCommand(0x196, OMX_CommandStateSet, OMX_StateIdle)
02-24 10:48:31.049: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(3) -> Dest(2)
02-24 10:48:31.049: I/OMXCodec(346): [OMX.SEC.mp3.dec] Now Idle. Component sends idle done Event 
02-24 10:48:31.059: E/InputDispatcher(990): channel ~ Channel is unrecoverably broken and will be disposed!
02-24 10:48:31.059: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(2) -> Dest(1)
02-24 10:48:31.059: I/OMXCodec(346): [OMX.SEC.mp3.dec] stopOmxComponent_l() mstate = 1
02-24 10:48:31.059: I/SecVideoCapture(346): SecVideoCapture destructor
02-24 10:48:31.059: I/SecVideoCapture(346): reset
02-24 10:48:31.059: I/SecMediaClock(346): SecMediaClock destructor
02-24 10:48:31.059: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop mState=4
02-24 10:48:31.059: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(3) -> Dest(2)
02-24 10:48:31.059: I/OMXCodec(346): [OMX.SEC.mp3.dec] stop() sendCommand(0x197, OMX_CommandStateSet, OMX_StateIdle)
02-24 10:48:31.059: I/OMXCodec(346): [OMX.SEC.mp3.dec] Now Idle. Component sends idle done Event 
02-24 10:48:31.059: I/SEC_BASE_COMP(346): SEC_OMX_ComponentStateSet: Cur(2) -> Dest(1)
02-24 10:48:31.059: I/OMXCodec(346): [OMX.SEC.mp3.dec] stopOmxComponent_l() mstate = 1
02-24 10:48:31.069: I/SecVideoCapture(346): SecVideoCapture destructor
02-24 10:48:31.069: I/SecVideoCapture(346): reset
02-24 10:48:31.069: I/SecMediaClock(346): SecMediaClock destructor
02-24 10:48:31.079: I/WindowState(990): WIN DEATH: Window{28a73ed3 u0 d0 my_app_tablet.my_app_tablet}
02-24 10:48:31.079: W/InputDispatcher(990): Attempted to unregister already unregistered input channel
02-24 10:48:31.089: I/WindowState(990): WIN DEATH: Window{29805b27 u0 d0 my_app_tablet.my_app_tablet/md5dc5ad32ea713dd0841d86c7c17d74757.SoftMeterView}
02-24 10:48:31.089: W/InputDispatcher(990): Attempted to unregister already unregistered input channel
02-24 10:48:31.109: I/Zygote(364): Process 16696 exited due to signal (15)
02-24 10:48:31.119: I/WindowManager(990): Screen frozen for +734ms due to Window{2e8aa90d u0 d0 my_app_tablet.my_app_tablet/md5dc5ad32ea713dd0841d86c7c17d74757.MainActivityView}
02-24 10:48:31.119: I/SurfaceFlinger(322): id=1222 createSurf (2560x800),-1 flag=20004, ClackSurfac
02-24 10:48:31.119: I/SurfaceFlinger(322): id=1223 createSurf (1280x1600),-1 flag=20004, ClackSurfac
02-24 10:48:31.119: I/SurfaceFlinger(322): id=1224 createSurf (2560x800),-1 flag=20004, ClackSurfac
02-24 10:48:31.119: I/SurfaceFlinger(322): id=1225 createSurf (1280x1600),-1 flag=20004, ClackSurfac
02-24 10:48:31.159: I/WallpaperManagerService(990): switchPersonaWallpaper is called for personaId-0
02-24 10:48:31.159: I/KnoxTimeoutHandler(990): postActiveUserChange, showWhenLocked: false
02-24 10:48:31.159: I/KnoxTimeoutHandler(990): Shared devices show user statefalse
02-24 10:48:31.169: I/SurfaceFlinger(322): id=1226 createSurf (1280x800),1 flag=4, Mauncher
02-24 10:48:31.169: I/art(16921): System.exit called, status: 0
02-24 10:48:31.169: I/AndroidRuntime(16921): VM exiting with result code 0, cleanup skipped.
02-24 10:48:31.189: W/InputMethodManagerService(990): Got RemoteException sending setActive(false) notification to pid 16696 uid 10163
02-24 10:48:31.189: I/ActivityManager(990): Process com.samsung.SMT (pid 16921)(adj 0) has died(163,547)
02-24 10:48:31.199: I/StatusBar(1221): Icon Only
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1221 Removed TcreenshotS (8/12)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1222 Removed ClackSurfac (8/11)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1221 Removed TcreenshotS (-2/11)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1222 Removed ClackSurfac (-2/11)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1223 Removed ClackSurfac (8/10)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1223 Removed ClackSurfac (-2/10)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1224 Removed ClackSurfac (8/9)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1224 Removed ClackSurfac (-2/9)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1225 Removed ClackSurfac (8/8)
02-24 10:48:31.359: I/SurfaceFlinger(322): id=1225 Removed ClackSurfac (-2/8)
02-24 10:48:31.389: I/Timeline(1487): Timeline: Activity_idle id: android.os.BinderProxy@279117fd time:22879950
02-24 10:48:31.449: E/AffinityControl(17142): AffinityControl: registerfunction enter
02-24 10:48:31.489: I/ActivityManager(990): Force stopping my_app_tablet.my_app_tablet appid=10163 user=0: from pid 17142
02-24 10:48:31.489: I/ActivityManager(990):   Force finishing activity 3 ActivityRecord{2c73677b u0 my_app_tablet.my_app_tablet/md5dc5ad32ea713dd0841d86c7c17d74757.SoftMeterView t184}
02-24 10:48:31.819: I/Timeline(990): Timeline: Activity_windows_visible id: ActivityRecord{1045ef89 u0 com.sec.android.app.launcher/com.android.launcher2.Launcher t70} time:22880389
02-24 10:48:32.549: I/wpa_supplicant(1199): nl80211: Received scan results (24 BSSes)
02-24 10:48:32.549: I/wpa_supplicant(1199): scan_only_handler, so autoscan_notify() !!!
02-24 10:48:30.239:E/SmartFaceService(990):onReceive:android.intent.action.DOCK\u事件
02-24 10:48:30.299:W/BackupManagerService(990):数据已更改,但没有参与者pkg='com.android.providers.settings'uid=1001
02-24 10:48:30.319:I/SecKeyguardClockSingleView(1221):忽略。因为它是相同的时钟文本
02-24 10:48:30.319:W/MotionRecognitionService(990):onReceive()getIntExtra 1
02-24 10:48:30.319:I/AudioPolicyManager(346):setForceUse()用法3,配置7,mp0
02-24 10:48:30.329:I/AudioPolicyManager(346):setOutputDevice()为输出2设置相同的设备0000或空设备
02-24 10:48:30.329:I/AudioPolicyManager(346):setOutputDevice()为输出4设置相同的设备0000或空设备
02-24 10:48:30.339:I/PERF(1221):接收到广播android.intent.action.BATTERY\u已更改
02-24 10:48:30.349:I/ActivityManager(990):配置更改=200{01.0?mcc?mnc en_AU?layoutDir sw600dp w961dp h576dp 213dpi lrg陆上工作台手指-键盘/v/h-导航/h mkbd/?s.83}
02-24 10:48:30.379:I/SamsungIME(3463):[之前]硬键盘隐藏(2)键盘类型(1)
02-24 10:48:30.379:I/SamsungIME(3463):mHwKeyBoardShowed[isHWKeyboardOpen()]=false-->false
02-24 10:48:30.379:E/SamsungIME(3463):isHWKeyboardConnected()=false-->false
02-24 10:48:30.379:I/SamsungIME(3463):[hasToCallSuper]正确
02-24 10:48:30.389:I/SurfaceFlinger(322):id=1221 createSurf(800x1280),2个标志=4,t屏幕截图
02-24 10:48:30.399:I/PERF(1221):KeyguardViewMediator-OnConfiguration已更改()
02-24 10:48:30.409:W/ScoverManager(1221):getCoverState:此设备不受支持
02-24 10:48:30.419:I/ValidateNoPeople(990):跳过全局通知
02-24 10:48:30.429:E/SmartFaceService(990):onReceive:android.intent.action.CONFIGURATION\u已更改
02-24 10:48:30.429:E/SmartFaceService(990):MFolderOveropened:(true,true)->true
02-24 10:48:30.439:E/栓系(990):无数字数据
02-24 10:48:30.439:I/电信(990):CallAudioManager:旋转扬声器:正确
02-24 10:48:30.439:I/Telecom(990)::接收到的事件\停靠\状态\已更改。电话inDock=真实状态=1
02-24 10:48:30.449:I/AudioPolicyManager(346):setForceUse()用法0,配置1,mPhoneState 0
02-24 10:48:30.449:I/AudioPolicyManager(346):setOutputDevice()为输出2设置相同的设备0000或空设备
02-24 10:48:30.449:I/AudioPolicyManager(346):setOutputDevice()为输出4设置相同的设备0000或空设备
02-24 10:48:30.449:I/LocationManagerService(990):通过com.google.android.gms删除31e0e601
02-24 10:48:30.459:I/PageBuddyNotiSvc(15563):收到意图:action=android.Intent.action.DOCK_事件
02-24 10:48:30.459:I/PageBuddyNoti(15563):mCPBroadcastReceiver动作=android.intent.action.DOCK_事件
02-24 10:48:30.479:E/WifiStateMachine(990):WifiStateMachine CMD_START_扫描源10008 txSuccessRate=0.25 rxSuccessRate=0.22 targetRoamBSSID=任何RSSI=-36
02-24 10:48:30.479:I/wpa_请求者(1199):wlan0:设置扫描请求:0秒0 usec
02-24 10:48:30.479:I/wpa_请求者(1199):P2P:当前P2P状态=空闲
02-24 10:48:30.479:I/wpa_请求者(1199):请求扫描(ret=0)-扫描超时30秒
02-24 10:48:30.479:I/Sandman(990):码头目前禁用了梦想。
02-24 10:48:30.539:E/LocSvc_utils_cfg(990):W/loc_read_sec_gps_conf:no secgps conf文件,使用默认值
02-24 10:48:30.539:I/SecKeyguardClockSingleView(1221):忽略。因为它是相同的时钟文本
02-24 10:48:30.539:E/LocSvc_ApiV02(990):I/virtual loc_api_adapter_err LocApiV02::startFix(const LocPosMode&):428]:位置模式=0。
02-24 10:48:30.669:I/PhoneStatusBar(1221):仅图标
02-24 10:48:30.669:I/状态栏(1221):仅图标
02-24 10:48:30.679:I/PhoneStatusBar(1221):仅图标
02-24 10:48:30.679:I/状态栏(1221):仅图标
------->应用程序已转到此处Dest(2)
02-24 10:48:31.019:I/OMXCodec(346):[OMX.SEC.mp3.dec]现在处于空闲状态。组件发送空闲完成事件
02-24 10:48:31.019:I/SEC_BASE_COMP(346):SEC_OMX_ComponentStateSet:Cur(2)->Dest(1)
02-24 10:48:31.019:I/OMXCodec(346):[OMX.SEC.mp3.dec]stopOmxComponent_l()mstate=1
02-24 10:48:31.019:I/SecVideoCapture(346):SecVideoCapture析构函数
02-24 10:48:31.019:I/SecVideoCapture(346):重置
02-24 10:48:31.019:I/SecMediaClock(346):SecMediaClock析构函数
02-24 10:48:31.029:W/ActivityManager(990):强制移除ActivityRecord{7563305 u0 my_app_tablet.my_app
[Activity(Label = "View for MainActivityView", LaunchMode = LaunchMode.SingleTop, ScreenOrientation = ScreenOrientation.SensorLandscape, ConfigurationChanges = ConfigChanges.UiMode)]