Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added background dim functionality for CascadePopup #45

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from

Conversation

gsrathoreniks
Copy link

No description provided.

@gsrathoreniks
Copy link
Author

Fixed Issue : #3

Copy link
Owner

@saket saket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks gajendra!

dim.setBounds(0, 0, parent.width, parent.height)
dim.alpha = dimAmount
val overlay = parent.overlay
overlay.add(dim)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can the showing and hiding of this overlay be animated?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added animation for applying dim and removing.

cascade/src/main/java/me/saket/cascade/CascadePopupMenu.kt Outdated Show resolved Hide resolved
@gsrathoreniks
Copy link
Author

animated_cascade_menu_bg.mp4

@gsrathoreniks
Copy link
Author

@saket can you please review. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants