SyntaxFix
Write A Post
Hire A Developer
Questions
try to show popup like this
new Handler().postDelayed(new Runnable(){ public void run() { popupWindow.showAtLocation(context.getWindow().getDecorView(), Gravity.CENTER,0,0); } }, 200L);