Answers for "android set textview drawable programmatically"

1

textview set drawable right programmatically

TextView textView = (TextView) findViewById(R.id.myTxtView);
textView.setCompoundDrawablesWithIntrinsicBounds(R.drawable.icon, 0, 0, 0);
Posted by: Guest on May-18-2021

Code answers related to "android set textview drawable programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language