I use popupwindow to display options in Android. I tried to decrease / blur the activity when popupwindow is active, but I did not find a solution ... can someone help me.
I used the following code, but it does not work for me.
getWindow().addFlags(android.view.WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
source share