G
G
gochag2017-07-10 12:55:03
Java
gochag, 2017-07-10 12:55:03

How to set scrolling to the center of the GestureDetector screen?

I am writing a small program by analogy https://habrahabr.ru/post/151492/.
The author of the article writes that "by default, after zooming, the canvas will scroll to the upper left corner."
How to implement the location of the canvas in the center of the screen and zoom?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question