您当前的位置: 首页 >  android

Android 点击拉伸文字和图片的效果

发布时间:2017-08-16 18:26:28 ,浏览量:0

PinchZoomTextView
项目地址: androidessence/PinchZoomTextView
简介:A TextView library that allows the user to increase/decrease font size with a two finger gesture by the user.
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 thePinchZoomTextView#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

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

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    110950博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0509s