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

Fixes view offset on Android 6 and lower #62

Merged
merged 1 commit into from
Dec 12, 2018
Merged

Fixes view offset on Android 6 and lower #62

merged 1 commit into from
Dec 12, 2018

Conversation

DennisBlock
Copy link
Contributor

This fixes the view offset on Android 6 and lower. If the ZoomLayout has no clickable children the child is moved to the top of the screen . It seems like the views matrix is already translated in the lower versions and overriding it with a different one removes the inital translation. (Altough the views matrix says it's an identiy matrix). This behavior can be seen in the issues #32 and #22 or simply by setting the hasClickableChildren to false in the sample.

@natario1
Copy link
Owner

Sorry for the delay. I think this makes sense, thank you!

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