How to make such a button in Android?

enter image description here

Is this some kind of switch?

  • If you do not need some kind of animation, then it is better to create an ImageView and change pictures. Or create two states as two layout , place them in FrameLayout and also show different pictures. - Flippy
  • one
    Handles, and of course, a search for your favorite how-to-custom-switch-button - JVic
  • one
    The most common Switch or ToggleButton with a custom background - pavlofff
  • one
    Checkbox customization example, the same thing here - pavlofff

0