BoomMenu
BoomMenu copied to clipboard
Can it blur background like BlurLockView
Both BoomMenu and BlurLockView are awesome! Could you add one more option in BoomMenu to blur the background like BlurLock View? When there are too many buttons, it need to blur the background to stress the buttons. Thank you so much!
Good idea. I will add this as soon as possible. Thanks for enhancement.
You can use this class here;
http://paste.ubuntu.com/25592717/
and SET on Click like that (i set blur effect on main LinearLayout)
private LinearLayout root_LL;
private SetBlurEffekt setBlurEffekt;
..............
.................
root_LL = (LinearLayout) findViewById(R.id.root_bg);
setBlurEffekt = new SetBlurEffekt(this);
...........
mbm1.setOnBoomListener(new OnBoomListenerAdapter() {
@Override
public void onClicked(int index, BoomButton boomButton) {
super.onClicked(index, boomButton);
System.out.println("CLICKED " + boomButton.getTextView().getText());
}
@Override
public void onBoomWillShow() {
setBlurEffekt.blurView(root_LL); // BLUR root_LL onBoom
}
@Override
public void onBoomWillHide() {
setBlurEffekt.unblurView(root_LL); // UNBLUR root_LL onClose/hide etc...
}
});
....
....
In iOS version this is possible:
bmb1.backgroundBlurred = true
bmb1.blurEffect = UIBlurEffect.init(style: UIBlurEffect.Style.dark)
So please add this feature in Android, too ! Thanks for your good work!