Is there a way to dynamically add check mark as left check mark in checkedTextView using a StateListDrawable? via xml there is an attribute android:drawableLeft which puts the checkmark to the left, is there a way to do this programmatically?
Asked
Active
Viewed 122 times
3
-
setCompoundDrawablesWithIntrinsicBounds() should work i guess. – Ankit Aggarwal Apr 24 '17 at 15:46
-
setCompoundDrawable draws the drawable behind the text, haven't tried withIntrinsicBounds might work, but I don't see it being over-ridden in CheckedTextView's code – sanket vetkoli Apr 25 '17 at 10:08