Android代码-根据手势缩放textview文本

时间:2022-08-25 21:50:31
【文件属性】:

文件名称:Android代码-根据手势缩放textview文本

文件大小:1.26MB

文件格式:ZIP

更新时间:2022-08-25 21:50:31

Android代码

ZoomTextView A custom TextView, when pinch in out gesture used, then it reizes text size. How to use ? Import the ZoomTextView.java class in your project and use it as following. Can also set the zoom in threshold using this method textView.setZoomLimit(float value); Initial value of threshold is 3.0, so text will be zoomed 3 times its original size.


【文件预览】:
ZoomTextView-master
----gradlew(5KB)
----settings.gradle(15B)
----.idea()
--------runConfigurations.xml(564B)
--------misc.xml(1KB)
--------compiler.xml(686B)
--------gradle.xml(608B)
--------.name(12B)
--------encodings.xml(159B)
--------modules.xml(361B)
--------copyright()
--------vcs.xml(164B)
----gradle()
--------wrapper()
----README.md(677B)
----gradlew.bat(2KB)
----gradle.properties(855B)
----.gitignore(97B)
----app()
--------src()
--------.gitignore(7B)
--------build.gradle(619B)
--------proguard-rules.pro(669B)
----demo.gif(1.31MB)
----build.gradle(498B)

网友评论