I want to draw a line and set a click listener on it. When I click the line, a dialog will display. I know how to draw a line on the view, but I want to create something like "a line object", so that I can control and set listener on it.
If anyone knows that, please help me. Thank you :)