Android-CircleMenu icon indicating copy to clipboard operation
Android-CircleMenu copied to clipboard

radial line

Open maryamnegar opened this issue 7 years ago • 4 comments

is it possible to connect children to center with radial lines?

maryamnegar avatar Feb 22 '18 08:02 maryamnegar

No, there is no feature like this in the library

szugyi avatar Feb 22 '18 08:02 szugyi

tnx, could you please show me some approach to do that ?

maryamnegar avatar Feb 22 '18 08:02 maryamnegar

Well, I think the best way to do it would be to override the onDraw method in the CircleLayout, and to draw the line from the center of the view to the child views there, based on the current angle of the children. If you rotate the children you might need to invalidate the whole layout when the angle is updated.

szugyi avatar Feb 22 '18 08:02 szugyi

thank you very much

maryamnegar avatar Feb 22 '18 08:02 maryamnegar