Answers for "set drawable textview programmatically android"

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 "set drawable textview programmatically android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language