Answers for "drawable background color change android"

0

how to change color of drawable in android

Drawable unwrappedDrawable = AppCompatResources.getDrawable(context, R.drawable.my_drawable); 
Drawable wrappedDrawable = DrawableCompat.wrap(unwrappedDrawable);
DrawableCompat.setTint(wrappedDrawable, Color.RED);
Posted by: Guest on January-21-2021
-2

how change drawable background colot in android

sdgfdjjk
Posted by: Guest on February-26-2021

Code answers related to "drawable background color change android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language