I have a ListView, which is in singleChoice mode. All I want is to display a RadioButton to the side, that when clicked highlights to say it is selected, and when a differen
I used dbm's answer and it worked fine for me except one thing:
You should initiate CheckedTextView in onAttachedToWindow() method, not in onFinishInflate(). This is because onAttachedToWindow() called before onFinishInflate() and using the solution above you will never see any drawable in CheckedTextView—it is null when onAttachedToWindow() called.