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

Disable onClick animation? #226

Open
nathan-fiscaletti opened this issue Jun 17, 2020 · 2 comments
Open

Disable onClick animation? #226

nathan-fiscaletti opened this issue Jun 17, 2020 · 2 comments

Comments

@nathan-fiscaletti
Copy link

Is there a way to disable the click animation when tapping on the notification but still support the onClick handler?

Preview

@kpmmmurphy
Copy link
Collaborator

Hey @nathan-fiscaletti, there's no API for this, but you may be able to nullify the foreground drawable on the AlertView, which I believe is handling this animation.

@nathan-fiscaletti
Copy link
Author

Hey @nathan-fiscaletti, there's no API for this, but you may be able to nullify the foreground drawable on the AlertView, which I believe is handling this animation.

Can you share some code on how one might do this?

TalbotGooday added a commit to TalbotGooday/Alerter that referenced this issue Aug 21, 2020
TalbotGooday added a commit to TalbotGooday/Alerter that referenced this issue Aug 21, 2020
TalbotGooday added a commit to TalbotGooday/Alerter that referenced this issue Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants