I want to draw a line between two or more views like radioButtons when the one is checked?
I think you can create two instances of a radio button in your class, and then use canvas to draw between them. I think you can get coordinates of each them.