I am new to android and i have problem in my painting application.When user want to delete or erase some already painted stuff ,by using below mentioned method i achieved the clearness but during clear it shows dark black lines whenever this function get called. I dont want to show that black lines, I want that ,Simple just like our real eraser works.
mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.CLEAR));
Please help me out. Hope anybody has the answer for the above. Thanks in advance.