Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

set drawableleft programmatically android

Drawable img = getContext().getResources().getDrawable(R.drawable.smiley);
txtVw.setCompoundDrawablesWithIntrinsicBounds(img, null, null, null);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #drawableleft #programmatically #android
ADD COMMENT
Topic
Name
1+2 =