PopupWindow弹出菜单
showAsDropDown(View anchor):相对某个控件的位置(正左下方),无偏移 showAsDropDown(View anchor, int xoff, int yoff):相对某个控件的位置,有偏移 showAtLocation(View parent, int gravity, int x, int y):相对于父控件的位置(例如正中央Gravity.CENTER,下方Gravity.BOTTOM等),,可以设置偏移或无偏移
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/66983.html
- 上一篇:windows下使用xerces
- 下一篇:WebApi 能支持Session