# PinchZoomTextView Library Released

DevFeed: [PinchZoomTextView Library Released](<https://devfeed.tech/articles/pinchzoomtextview-library-released-22827.md>)

Original publisher: [Read original article](<http://androidessence.com/pinchzoomtextview-library-released/>)

Author: Adam McNeilly

Published: 2016-11-27T00:00:00Z

Content type: release

Language: en

Sources: [Android Essence](<https://devfeed.tech/sources/android-essence.md>)

Topics: [Library](<https://devfeed.tech/topics/library.md>)

Tags: [gif](<https://devfeed.tech/tags/gif.md>), [library](<https://devfeed.tech/tags/library.md>), [override](<https://devfeed.tech/tags/override.md>), [screen](<https://devfeed.tech/tags/screen.md>), [view](<https://devfeed.tech/tags/view.md>), [zoom](<https://devfeed.tech/tags/zoom.md>)

## AI overview

The article announces a library that lets users pinch to zoom in and out of an Android TextView, changing its font size. It explains that the library overrides the view's onTouchEvent() method and directs readers to GitHub for more details.

## Source excerpt

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: