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:

Sample Gif

Interested in using this in your next project? You can get more details by viewing the library on GitHub.

Adam McNeilly

Adam McNeilly
Software Engineer and Android development enthusiast.

Showing A Fragment For A Result

An explanation on how fragments can be used similar to startActivityForResult in Android. Continue reading

Building An Application With MVVM

Published on October 28, 2018

Building An Application With MVP

Published on October 20, 2018