Android自定义弹出窗口PopupWindow使用技巧
2017-02-06
92
PopupWindow是Android上自定义弹出窗口,使用起来很方便。PopupWindow的构造函数为复制代码 代码如下:public PopupWindow(View contentView, int width, int height, boolean focusable)contentView为要显示的view,width和height为宽和高,值为像素值,也可以是MATCHT_PARENT和WRAP_CONTENT。focusable为是否可以...