Android 点击拉伸文字和图片的效果
来源:互联网 发布:2016年海南旅游数据 编辑:程序博客网 时间:2024/06/04 23:32
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. :)
- Android 点击拉伸文字和图片的效果
- IOS-UIBarButtonItem的图片文字点击效果
- Android 复合控件 图片+文字有选中效果和点击事件
- textview中点击效果实现,比如点击textview中实现图片和文字的颜色变化(类似于button)
- Android Radiobutton 文字点击效果
- android-点击文字收缩效果
- android 图片点击效果的实现
- Android 文字和按钮Button点击效果的(selector使用)直接用
- 网页背景图片拉伸效果
- 图片拉伸放大效果
- Android:实现点击图片时图片变暗的效果
- Android 文字框,编辑框里的图片点击事件
- android 图片文字轮播效果(图片和文字自动滚动)
- android 图片文字轮播效果(图片和文字自动滚动)
- Android实现文字和图片混排(文字环绕图片)效果
- android TextView 实现自定义文字点击效果
- tableview实现qq好友列表点击拉伸的效果
- android学习笔记---图片拉伸和裁剪
- Hdu-3746-Cyclic Nacklace-【KMP】
- zcmu-1959
- Andoird 仿某理财APP自定义尺子控件
- 8-16 希望沿着这条路一直走下去
- POJ 1961 Period (KMP)
- Android 点击拉伸文字和图片的效果
- 如何用消息系统避免分布式事务
- Dukemann International
- $.each(){} 和<c:forEach>的用法
- Java内部类的使用小结
- sparkR介绍及安装
- Count the string HDU
- PHP运行时强制显示出错信息的代码
- oracle rac 生产库添加udev注意事项和步骤