alexvasilkov / GestureViews

ImageView and FrameLayout with gestures control and position animation
Apache License 2.0
2.37k stars 384 forks source link

How to scroll to a certain position or zoom to a certain size by clicking the button #153

Closed weiwenhui3025 closed 3 years ago

weiwenhui3025 commented 4 years ago

I want to zoom in and pan the view to the center by clicking the button. Do you have an API?

alexvasilkov commented 4 years ago

Please check sample app, it has "Image state control" example. You can check its code in ImageControlActivity class.