PopupWindow学习之弹出方向(一)

PopupWindow直接继承于Object,经过WindowManager来添加和移除view; 相对于AlertDialog来讲,AlertDialog默认显示在屏幕中央,PopupWindow须要指定显示位置。 AlertDialog不阻塞线程,PopupWindow阻塞线程。 AlertDialog的确认和取消按钮,在Android源码里面是默认点击后消失Dialog。css 因此此次有不
相关文章
相关标签/搜索