Answers for "how to add drawableleft programmatically to textview in 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 "how to add drawableleft programmatically to textview in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language