Android图案密码解锁库:android-patternview
jopen
10年前
Android图案密码解锁库:android-patternview。
<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. |