android: CheckedTextView cannot be checked?

后端 未结 7 1104
遇见更好的自我
遇见更好的自我 2020-12-08 06:41

Initially I wanted a checkmark where the text is placed on the left of the checkmark. After searching on this site I found out the best workaround is android:CheckedTextView

7条回答
  •  自闭症患者
    2020-12-08 07:09

    You probably want to just use a regular CheckBox (which inherits from Button and thus TextView). CheckedTextView is designed to work with list views. Example CheckBox layout XML is below:

    
    

提交回复
热议问题