Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.
like image 293
iTurki Avatar asked Nov 04 '22 17:11

iTurki


1 Answers

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

like image 51
Taras Shevchuk Avatar answered Nov 13 '22 04:11

Taras Shevchuk