Implement pinch gesture and switch Frame

By | October 30, 2018
Questions:

i need to implement a zoom-in and zoom-out gesture to switch a frame in a container ,so by detecting they should change the frame, not zoom in or out. I already extendes the MainActivity so there is no space to implement a ScaleDetector. How do I implement this listener now? The tutorials only show how to implement the detector in an empty MainActivity and only to zoom a picture.

Thanks.

Answers:

Leave a Reply

Your email address will not be published. Required fields are marked *