View inflate = LayoutInflater.from(mContext).inflate(R.layout.asset_popup_hint_layout, null);
inflate.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
final PopupWindow popupWindow = new PopupWindow(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
popupWindow.setContentView(inflate);
popupWindow.showAtLocation(v, Gravity.TOP, 0, 0);
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
popupWindow.dismiss();
}
}, 2000);