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

Android pinch-zoom always from center #13

Open
Foveluy opened this issue Jan 18, 2023 · 3 comments
Open

Android pinch-zoom always from center #13

Foveluy opened this issue Jan 18, 2023 · 3 comments

Comments

@Foveluy
Copy link

Foveluy commented Jan 18, 2023

Not like iOS , you can pinch anywhere you like to zoom in&out.

on Android, picture will always zoom from center point.

how to make the behavior looks like iOS?

Thanks.

@frodriguez-hu
Copy link

I have the same question, I am just trying to figure out how to solve it on the java code

@frodriguez-hu
Copy link

I saw the code is using setBounds and it does not have the option to set a pivot in order to pinch-zoom from the initial point. I think in order to get it done the library should use canvas to do it or something that allows it to set a pivot. I am not an android coder but I am trying to implementing it without success

@NoahSimajji
Copy link

Any updates of solution for this issue? I encounter this issue on my side too.

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

No branches or pull requests

3 participants