• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Android-LockView: A view to unlock

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Android-LockView

开源软件地址:

https://gitee.com/_Courser/Android-LockView

开源软件介绍:

#Android-LockViewI code this for my another project and share it.Originally wanted to find an open source control with a look, but did not search to the right. So write an unlock control.

if you have any question, please contact me.E-mail: [email protected]

SHOW

MyProject

Usage:

    <com.mahao.team42.lockview.widget.LockView        android:id="@+id/activity_main_lockView"        android:layout_width="300dp"        android:layout_height="300dp"        android:layout_centerInParent="true" /> 
    //set line color    this.lockView.setColorLine(Color.RED);		    //set circle color    this.lockView.setColorCircle(Color.GREEN);		    //set point color    this.lockView.setColorPoint(Color.BLUE);		    //set column and row count    this.lockView.setSpanCount(3);		    //set min point count to finish    this.lockView.setMinPointCount(3);		    //set inner point circle radius    this.lockView.setInnerCircleRadius(0.2F);		    //set inner trigger circle radius		    this.lockView.setInnerTriggerCircleRadius(0.8F);		    //set outer circle radius    this.lockView.setOuterCircleRadius(1.0F);		    //set set trigger circle show    this.lockView.setTriggerCircleShow(true);		    //set listner    this.lockView.setOnLockFinishListener(new OnLockFinishListener() {        @Override        public void onFinish(List<Integer> result) {            //TODO        }    });

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap