android textview drawableright programatically -


how make drawableright image on textview appear , disappear programmatically in android. have textview , button. when user press button, suppose use data on textview something. however, if textview emtpy, want show error icon on drawableright. please advise. thanks.

i think looking http://developer.android.com/reference/android/widget/textview.html#seterror(java.lang.charsequence)

basically show default error icon on right inside textview if set it.


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -