songzy12 / AndroidRotationSensor

0 stars 0 forks source link

此应用启动时自动小窗 #5

Open songzy12 opened 1 year ago

songzy12 commented 1 year ago

并背景透明?

songzy12 commented 1 year ago

https://developer.android.com/guide/topics/large-screens/multi-window-support https://github.com/android/views-widgets-samples/tree/main/MultiWindowPlayground

https://developer.android.com/develop/ui/views/picture-in-picture

Note: Picture-in-picture mode is a special case of multi-window mode. If myActivity.isInPictureInPictureMode() returns true, then myActivity.isInMultiWindowMode() also returns true.

songzy12 commented 1 year ago
2023-02-23 21:51:09.605 8834-8834/com.example.myapplication I/ResourcesManager: applyConfigurationToAppResourcesLocked newConfig: {1.0 460mcc7mnc [zh_CN_#Hans] ldltr sw360dp w360dp h593dp 480dpi nrml port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(113, 466 - 1193, 2247) mAppBounds=Rect(113, 466 - 1193, 2247) mWindowingMode=hwMultiwindow-freeform mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=on mRotation=ROTATION_0} suim:4 fontWeightScale:100 s.4}, currentAppConfig: {1.0 460mcc7mnc [zh_CN_#Hans] ldltr sw360dp w360dp h744dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2340) mAppBounds=Rect(0, 108 - 1080, 2340) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} suim:4 fontWeightScale:100 s.16787}
2023-02-23 21:51:09.621 8834-8834/com.example.myapplication I/DecorView[]: pkgName:com.example.myapplication old windowMode:0 new windoMode:102, isFixedSize:false
2023-02-23 21:51:09.621 8834-8834/com.example.myapplication I/RmeSchedManager: init Rme, version is: v1.0
2023-02-23 21:51:09.621 8834-8834/com.example.myapplication I/RtgSchedEvent: current pid:8834 AppType:-1
2023-02-23 21:51:09.634 8834-8834/com.example.myapplication I/HwFreeFormCaptionView: begin setPhoneWindow, isShow = true