参考博客 https://blog.youkuaiyun.com/u011170793/article/details/80516764。
采用FIRST_SYSTEM_WINDOW属性加3的方式。

var lp: WindowManager.LayoutParams? = null //lp初始化过程,省略 .... lp?.type = WindowManager.LayoutParams.FIRST_SYSTEM_WINDOW + 3
本文介绍了一种在Android中设置窗口布局属性的方法,通过将类型设置为FIRST_SYSTEM_WINDOW加3,实现特定的窗口管理需求。
参考博客 https://blog.youkuaiyun.com/u011170793/article/details/80516764。
采用FIRST_SYSTEM_WINDOW属性加3的方式。

var lp: WindowManager.LayoutParams? = null //lp初始化过程,省略 .... lp?.type = WindowManager.LayoutParams.FIRST_SYSTEM_WINDOW + 3
9296
191
3796

被折叠的 条评论
为什么被折叠?