Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

textview set drawable right programmatically

TextView textView = (TextView) findViewById(R.id.myTxtView);
textView.setCompoundDrawablesWithIntrinsicBounds(R.drawable.icon, 0, 0, 0);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #textview #set #drawable #programmatically
ADD COMMENT
Topic
Name
9+4 =