Widget - ImageView Color Drawable

Anmol dwivedi
0

imageview1.setBackround(Drawables.getSelectableDrawableFor(Color.parseColor("1E88E5")));
imageview1.setClickable(true);

//or


imageview1.getDrawable().setColorFilter(Color.parseColor("#1e88e5"), PorterDuff.Mode.SRC_IN);

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
Our website uses cookies to enhance your experience. Learn More
Accept !