I am creating an app in which I am allowing user to touch above the line OR path. I want to do something like the user should be able to tap around 20 pixels of the line. I’ve googled a lot but found nothing.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Following is a piece of code from one of my programs: Here I have done something similar. A image appears wherever the user taps on the screen. I have limited the screen to certain areas, only where a tap will be registered. Hope this helps you:!!