Sunday, September 30, 2018

Android: Change color of the downloaded material icon

Add below two lines in your ImageButton or ImageView

android:tint="@color/colorPrimary"
android:tintMode="@color/colorPrimary"

Check the example shown below:

No comments:

Post a Comment