
This library allows you to have a TextView that will grow/shrink the font size using gestures from the user.
UsageTo have access to the library, add the dependency to your build.gradle:
compile 'com.androidessence:pinchzoomtextview:1.0.1'
By default, the zoom feature is always enabled. If for any reason you want to disable it, simply call thePinchZoomTextView#setZoomEnabled(boolean enabled) method.
SampleTo see the library in action, here is a sample of the text size changing:
PinchZoomTextView was created by:
- Adam McNeilly
With special thanks to Eric Cugota for helping me get this into Bintray and make it available for you.
And it's released under Android Essence blog.
LicensePinchZoomTextView is available under the MIT License. You are free to do with it what you want. If you submit a pull request, please add your name to the credits section. :)