FloatWindow
FloatWindow copied to clipboard
悬浮视频小窗口
Results
1
FloatWindow issues
Sort by
recently updated
recently updated
newest added
看了一下原因是权限的问题,但是打开了这个权限 还是有问题 smallWindowParams.type = LayoutParams.TYPE_PHONE; 我看了一下8.0适配这里 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { mLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; }else { mLayoutParams.type = WindowManager.LayoutParams.TYPE_PHONE; }