Android: Where to find the RadioButton Drawable?

前端 未结 3 507
灰色年华
灰色年华 2021-01-18 03:28

Ok, I am trying to create a custom view called CheckedRelativeLayout.

It\'s purpose is the same as a CheckedTextView, to be able to use it

3条回答
  •  天命终不由人
    2021-01-18 04:00

    To use the new default animated radio button drawable, the correct answer is in the comment of @sidon:

    ?android:attr/listChoiceIndicatorSingle

    Using this in the custom position relative to text:

    
    

提交回复
热议问题