Profile cover photo
Profile photo
vinod wakade
27 followers
27 followers
About
Posts

Post has attachment
Need a help Can any buddy help me to solve this problem? I tried all possible ways to find the solution still unable.
The problem is There are two activities in my application 1. mainActivity 2.newActivity. On button click on mainActivity newActivity will open as a pop-up window(not a dialog box). I want to hide/blur mainActivity when pop-up window(newActivity) is active and display mainActivity when pop-up(newActivity) activity close. how can I achieve this?

I tried this solution also but not useful.

Code:
int dimAmt = 80; mainWindow.addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
WindowManager.LayoutParams params = mainWindow.getAttributes();
params.dimAmount = dimAmt / 100f;
mainWindow.setBackgroundDrawable(new ColorDrawable(0x7000000));
mainWindow.setAttributes(params);
Photo

Post has attachment
Life is Very difficult Without Funnnn!!!
Wait while more posts are being loaded