Added blur background effect and panelOffScreen option.#577
Open
amanzan wants to merge 3 commits intoumano:masterfrom
Open
Added blur background effect and panelOffScreen option.#577amanzan wants to merge 3 commits intoumano:masterfrom
amanzan wants to merge 3 commits intoumano:masterfrom
Conversation
Open
added 2 commits
May 19, 2016 22:32
…d off screen (above or below, depending on the gravity)
… alignParentBottom="true", we were missing "notificationbarheight" pixels. Now it aligns correctly.
…w behind panel will blur while sliding
Contributor
|
I don't think the GlassView needs to a part of the library. You can simply blur the content by having an onslidelistener. I'll leave this open as an example |
|
I have made changes in my code according to the suggestions provided by @amanzan. it works great for the current use case where we put androidbg as background image and nothing in main content except toolbar. I'm using OCR camera in main content, i have implemented same for my use case but failed to get the desired result. It does not blur the camera view. It would be greatly appreciatd if you put some light on it about how would I get the desired blur effect for camera view. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If the panelOffScreen attribute is true in the xml, the panel will keep the sliding until it's located off screen. If gravity=bottom, it will be above the screen (see gif below).
http://im2.ezgif.com/tmp/ezgif-3862700634.gif