Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/androidessence/PinchZoomTextView
A TextView library that allows the user to increase/decrease font size with a two finger gesture by the user.
https://github.com/androidessence/PinchZoomTextView
Last synced: 2 months ago
JSON representation
A TextView library that allows the user to increase/decrease font size with a two finger gesture by the user.
- Host: GitHub
- URL: https://github.com/androidessence/PinchZoomTextView
- Owner: androidessence
- License: mit
- Created: 2016-11-27T19:40:12.000Z (about 8 years ago)
- Default Branch: develop
- Last Pushed: 2020-07-11T21:06:26.000Z (over 4 years ago)
- Last Synced: 2024-11-01T10:03:01.329Z (3 months ago)
- Language: Java
- Homepage:
- Size: 3.22 MB
- Stars: 311
- Watchers: 10
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-android-ui - PinchZoomTextView - 用手势缩放字体大小 (TextView)
README
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:
```java
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:
- [Adam McNeilly](https://github.com/AdamMc331)
With special thanks to [Eric Cugota](https://github.com/tryadelion) for helping me get this into Bintray and make it available for you.
And it's released under [Android Essence blog](http://androidessence.com/).
License
-------PinchZoomTextView is available under the [MIT License](https://opensource.org/licenses/MIT). You are free to do with it what you want. If you submit a pull request, please add your name to the credits section. :)