如何创建Android上的绘图区 [英] How to create a drawing zone on Android
本文介绍了如何创建Android上的绘图区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我工作的一个应用程序,我需要抓住客户签署(在Android平板电脑),我不知道如何创建一个绘图区,一旦它的完成,以节省签字。
如果你有一些好的做法或想法欢迎您。
I'm working on an app and i need to catch the signing of the client (on an Android tablet) and i don't know how to create a drawing zone and to save the signing once it's done. If you have some good practices or ideas you're welcome.
推荐答案
您需要创建一个自定义视图和跟踪onTouch事件。一个很好的教程在这里 http://corner.squareup.com/2010/07/光滑signatures.html 描述如何广场它会为信用卡签名
You'll need to create a custom view and track the onTouch events. A good tutorial is here http://corner.squareup.com/2010/07/smooth-signatures.html describing how Square does it for credit card signatures
这篇关于如何创建Android上的绘图区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文