参考博客 https://blog.csdn.net/u011170793/article/details/80516764。
采用FIRST_SYSTEM_WINDOW属性加3的方式。
var lp: WindowManager.LayoutParams? = null //lp初始化过程,省略 .... lp?.type = WindowManager.LayoutParams.FIRST_SYSTEM_WINDOW + 3
参考博客 https://blog.csdn.net/u011170793/article/details/80516764。
采用FIRST_SYSTEM_WINDOW属性加3的方式。
var lp: WindowManager.LayoutParams? = null //lp初始化过程,省略 .... lp?.type = WindowManager.LayoutParams.FIRST_SYSTEM_WINDOW + 3