How do you make a caste checkBox for TextView?



  • введите сюда описание изображения

    Can we use RadioCheck to do that?

    Or is there any special View in Androids for that?

    Can you tell me?



  • We need to get out of here. RadioButton properties button Total xml Note, drawable xml, composed of two, checked=true/false. Also create a color consisting of two, checked=true/false.

    Assistance sections: StateList and Shape Drawable

    https://developer.android.com/guide/topics/resources/drawable-resource.html


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2