Skip to content

masoud2v/Android-Lock9View

 
 

Repository files navigation

Android-Lock9View Download API

An Android grid lock screen view with a callback interface. It is very simple to use.

ScreenShot

Screenshot

Demo

Lock9View Demo on Google Play Store

Usage

Gradle

compile 'com.takwolf.android:lock9view:0.0.2'

Layout

<com.takwolf.android.lock9.Lock9View
    android:id="@+id/lock_9_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    app:nodeSrc="@mipmap/lock_9_view_node_normal"
    app:nodeOnSrc="@mipmap/lock_9_view_node_highlighted"
    app:lineColor="#ff006699"
    app:lineWidth="8dp" />

Activity

Lock9View lock9View = (Lock9View) findViewById(R.id.lock_9_view);
lock9View.setCallBack(new CallBack() {
    @Override
    public void onFinish(String password) {
        Toast.makeText(MainActivity.this, password, Toast.LENGTH_SHORT).show();
    }
});

Author

TakWolf

takwolf@foxmail.com

http://takwolf.com

License

Copyright 2015-2016 TakWolf

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

An Android grid lock screen view with a callback interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.7%
  • Shell 1.3%