how to remove the outside touchable event for popupwindows in android 6.0
<p>Here is my code ,I set outsidetouch listener false ,it is working fine for    below 6.0 version mobiles but not for 6.0.</p>

<pre><code>LayoutInflater layoutInflater
                        = (LayoutInflater) getBaseContext()
                        .getSystemService(LAYOUT_INFLATER_SERVICE);
                popupView6 = layoutInflater.inflate(R.layout.payment_not_enough_points, null);
                popupWindow2 = new PopupWindow(popupView6, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT, true);
                popupWindow2.showAtLocation(popupView6, Gravity.CENTER, 0, 0);
                popupWindow2.setOutsideTouchable(false);
</code></pre>