PinchZoomTextView Library Released
I was recently asked if there was a way to increase/decrease the font size of a TextView by pinching on it, just as you can with many iamges. Well, it turns out that’s quite possible!
All you have to do is override the onTouchEvent()
method of your view, which is exactly what I do in my latest library, which allows you to pinch your screen to zoom in and out of a TextView. Check out the sample gif below:
Interested in using this in your next project? You can get more details by viewing the library on GitHub.