A TextView library that allows the user to increase/decrease font size with a two finger gesture by the user.
Java Kotlin
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app-kotlin
app Updated support lib version Apr 4, 2017
gradle/wrapper
lib-kotlin Removed unnecessary travis code. Apr 4, 2017
lib Added version code and version number properties. Apr 4, 2017
.gitignore Initial commit. Nov 27, 2016
.travis.yml Removed unnecessary travis code. Apr 4, 2017
LICENSE Initial commit Nov 27, 2016
README.md
build.gradle
gradle.properties
gradlew Adding gradlew to test without gradlew.bat Mar 27, 2017
gradlew.bat Moved everything back to normal from before Mauker testing. Mar 28, 2017
sample.gif Updated sample gif after change for #1. Dec 2, 2016
settings.gradle Added app module code for #3. Dec 27, 2016

README.md

PinchZoomTextView Library

This library allows you to have a TextView that will grow/shrink the font size using gestures from the user.

Usage

To have access to the library, add the dependency to your build.gradle:

	compile 'com.androidessence:pinchzoomtextview:1.0.1'

Developer Notes

By default, the zoom feature is always enabled. If for any reason you want to disable it, simply call the PinchZoomTextView#setZoomEnabled(boolean enabled) method.

Sample

To see the library in action, here is a sample of the text size changing:

Credits & Contact

PinchZoomTextView was created by:

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.

License

PinchZoomTextView 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. :)