How to draw a line in android between two or more RadioButtons

后端 未结 2 1107
温柔的废话
温柔的废话 2020-12-17 07:52

I want to draw a line between two or more views like radioButtons when the one is checked?

2条回答
  •  悲&欢浪女
    2020-12-17 08:50

    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.

提交回复
热议问题