I want to create letters and words dynamically on view and also I want to draw line on it by finger.
For example I have letters like A as given in picture:
I would like to draw like this as given in picture:
The problem is that the line is drawn on the whole view. I want to find points contain letters and only draw line on letters contain points. if any idea or suggestion then let me know.
I solved my problem by using two images one is a normal image of an "A" and other is transparent image of an "A", in between these two images I add the custom view on which I draw freehand line.
Using below code:
and activity_main.xml is :