
PopupWindow
world_kun
这个作者很懒,什么都没留下…
展开
-
如何让PopupWindow 显示在屏幕的中央
public static void showShareWindow(Activity activity, View parentView, String pageName){ View mContentView = null; V5ShareView mShareView = null; if(mContentView == null){ mCon转载 2017-08-24 18:26:30 · 9764 阅读 · 0 评论 -
PopupWindow showAtLocation和showAsDropDown参数分析
PopupWindow 的这两个方法都是控制PopupWindow 出现的,具体分析如下:1.showAtLocation,例如:showAtLocation(findViewById(R.id.search_ib), Gravity.TOP | Gravity.RIGHT,10, 10);第一个参数:这个view是要能获取到window唯一标示的(也就是只要能获取到window 标示,v...转载 2019-01-18 15:49:44 · 2073 阅读 · 0 评论