Winson Tan

Results 21 comments of Winson Tan

I faced same problem too, but found the trick after playing with the demo. You have to set the margin programmatically just like the demo. Also i am using demo's...

The library do not have the function you mentioned. You welcome to take the codes for free and modify it for your needs. Winson On Sun, Jan 6, 2019, 8:06...

it seem calling this class with setVisibilty() in the update callback will crash... hmm

I think you should setLayoutParam after setting height and width ``` android.view.ViewGroup.LayoutParams layoutParam = scratchView.getLayoutParams(); layoutParam.height=2000; layoutParam.width=500; scratchView.setLayoutParams(layoutParam); ```

it was designed as scratch to reveal but not touch to reveal, mean you need to touch and drag it to reveal. On 4 Sep, 2015 10:28 pm, "Joao Ferreira"...

Current algorithm doesn't support this behaviors... maybe in future

Yes this is the drawback of this library, right now I have no idea to improve it right now

I can't get it, did you mean moving the image behind the scratchview? sorry for my poor english understanding

ok i got it. will try figure how to solve when have free time.