PopupWindow 设置显示坐标为负无效
时间:2020-08-10 17:13:40
收藏:0
阅读:80
WindowManager显示负坐标,需要设置
- LayoutParams flag为FLAG_LAYOUT_NO_LIMITS
- LayoutParams type为2007以上
.
- 要设置flag为FLAG_LAYOUT_NO_LIMITS,则需要在setContentView
之前设置thissetClippingEnabled(false);
原文:https://blog.51cto.com/xuguohongai/2518521
评论(0)