android 手势解锁 布局问题
ringa_lee
ringa_lee 2017-04-17 17:47:02
0
1
547

           图(一)
           
           

           图(二)

上面图(一)是支付宝的截图,也是我想要实现的效果
下面是我实现的(参考博客 http://blog.csdn.net/lmj62356...)
现在的问题是:不想要圆内部的线条,需要画成类似支付宝【图(一)】的样子

支付宝两个圆之间的连线是怎么实现的?

1.从两个圆心之间开始画线,将处于圆内部的线条影藏?

2.从两个圆的圆弧上开始画线

或者其他?

谢谢大家

ringa_lee
ringa_lee

ringa_lee

reply all(1)
刘奇

Have a look at the implementation method of Hongyang’s blog article. Lines are drawn using canvas. By default, the lines drawn later will be displayed on it. If the subject wants to hide the internal lines, he or she will not draw them at the beginning (in Reset the xy coordinates of the lead in GestureLockViewGroup and cut off part of it), or redraw the GestureLockView to cover the lead.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!