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

S10 overshoot fix #237

Merged
merged 6 commits into from
Sep 3, 2020
Merged

S10 overshoot fix #237

merged 6 commits into from
Sep 3, 2020

Conversation

AJScanlan
Copy link
Contributor

@kpmmmurphy finally got a chance to use this library :D

Noticed some overshooting on my S10 though, quickest way I thought to fix was increase the negative margins. This works but moves the alert up slightly in its resting position versus the original margins.

To my eye it's ok but if you think it will cause issues let me know if there's a better way, been a while since I did Android.

20200903_134715
20200903_134852

@kpmmmurphy
Copy link
Collaborator

Hey @AJScanlan, thanks for your PR! Looks good to me. I've wrestled with this in the past, and the original padding value was arbitrarily chosen. I think in the future I may change it to a calculated percentage of the screen.

I've just merged another PR, which bumps the version to 6.2.0. Could you alter your PR version to 6.2.1 in the build.gradle, and the changelog - then I'll merge?

@AJScanlan
Copy link
Contributor Author

Yeah I was considering something similar to calculating the height but didn't want to mess with it too much since I don't know fully how it all works and didn't want to break this very popular library ;)

Sure thing, I'll update now

@AJScanlan AJScanlan merged commit 51f3460 into master Sep 3, 2020
@AJScanlan AJScanlan deleted the S10_overshoot_fix branch September 3, 2020 13:49
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.

2 participants