Answers for "how to insert a drawable in textview in adapter 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 "how to insert a drawable in textview in adapter programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language