TakWolf-Deprecated/Android-Lock9View

When the nodes are too small it doesn't pick up the draw

Closed this issue ยท 7 comments

I've a very small nodes like following

device-2015-10-05-201114

Nodes are drawn only If the finger touches the node. Doesn't draw even if the finger is too close to the node. The default android lock pattern of the in built android security will draw the line even if the finger is 10dp (not sure how much dp it is actually) away from the node.

Can you please add feature where I can set the touch area to be bigger but the drawable of the node is smaller.

The problem is that you want to draw a small node but want the touch area is bigger ? Now there is no feature to set the touch area special yet, but you can try this way temporarily: make your drawable size bigger with alpha blank, like this:

-1

saf1

To see if this can able to solve your problem now. If not, then I would consider to add a feature.

@TakWolf This will solve my issue as you said. But Each time I've to modify the PNG file when I need to adjust the drawable size. Which really tedious to support multiple screens ๐Ÿ˜ž Hence I'm requesting the feature to be added ๐Ÿ˜‡

OK, gave me a little time to do this work.

@TakWolf thank you so much. Waiting for your implementation ๐Ÿ˜ƒ

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

I have add this feature and some other things, please see readme.

I guess you will glad to see this example :
https://github.com/TakWolf/Android-Lock9View/blob/master/app/src/main/res/layout/activity_l_style.xml

@TakWolf Thank you so much. Coding the changes now ๐Ÿ‘

@TakWolf Thank you so much again. Implemented ๐Ÿ’ฏ