Try using setCompoundDrawablePadding(int)
(or android:drawablePadding
in XML) to set some space between the text and checkbox.
Regarding getting the selector working, <CheckedTextView>
extends TextView
, so try setting
android:clickable="true"
.
Obviously, if you're using the CheckedTextView
in a ListView
, make sure your ChoiceMode
isn't set to CHOICE_MODE_NONE
.