Skip to content

Pattern view for android.That one using lock or unlock.

License

Notifications You must be signed in to change notification settings

LivioGama/android-patternview

 
 

Repository files navigation

android-patternview

Join the chat at https://gitter.im/geftimov/android-patternview Android Arsenal Maven Central

View for locking and unlocking.

svg svg svg svg svg

How to use
<com.eftimoff.patternview.PatternView
    xmlns:patternview="http://schemas.android.com/apk/res-auto"
    android:id="@+id/patternView"
    android:layout_width="250dp"
    android:layout_height="250dp"
    patternview:pathColor="@color/primary_dark_material_light"
    patternview:circleColor="@color/highlighted_text_material_light"
    patternview:gridSize="4"/>
Attributes
attr default mean
maxSize 0 Maximum size if WRAP_CONTENT is used.
circleColor #FFFF0000 Color of the selected cell circle.
gridSize 3 Size of the grid. Example 4 for 4x4.
pathColor #FFFFFF The color of the path that is following the pointer.
Limitations
  1. Padding for the view does not work.
  2. Only square is supported.

TODO

  1. See the padding , and why it is not applied.
  2. Make wiki for all the settings.
  3. Make gif and upload it.

Contributors

I want to update this library and make it better. So any help will be appreciated. Make and pull - request and we can discuss it.

Download
dependencies {
	compile 'com.eftimoff:android-patternview:1.0.1@aar'
}

Licence

Copyright 2015 Georgi Eftimov

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

Pattern view for android.That one using lock or unlock.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%