Search code examples
androidandroid-custom-view

Circular Buttons Group View


This is a snapshot from an app called "Noom Weight Loss Coach":

enter image description here

I was stunned by this circular view in this app. It can have some buttons (six in this snapshot but they can be more or less) and they can be rotated and have different colors.

I have a couple of questions:

  • Is there an existing library that provides this circular view?
  • If not, from where you would start if you want to build one? I am just interested in the circular look of the buttons. The rotation is not important.

Solution

  • I would recomend to use custom buttons. Derive your class from View, redefine onDraw() for drawing buttons state changes and listen for onTouch events.