Become a blogger

Blogging has become one of the most popular ways for individuals to share their thoughts, ideas, and experiences with the world. With the rise of the internet, anyone can start a blog and reach a…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Change the color of a Material icon in Android

Sometimes even easy things become tricky to solve, here is one of them, changing the color of the material design icons.

Follow below simple steps to change the color of your material icon, it’s super easy.

step-1 : download .svg file as shown in below image

step-2: import the downloaded .svg file into your Android studio project
go to drawable > new > Vector Asset

now select the option to import .svg from local directory as shown below

click next and it will create a .xml file in your project.
Now, you can change the color from that .xml file.

That’s it, now your icon’s color is changed :)

if you find this post helpful make sure you give a clap, you can also follow me on Medium.

Add a comment

Related posts:

How To Turn Off Email Notifications on Wattpad

Wattpad is a popular online platform where users can read and write stories. However, sometimes the constant stream of email notifications can be overwhelming and distracting. In this article, we…

Create a TO BE list

My experiences over the past year inspired me to convert my list of “tasks” to complete into a list of “mindsets” to be in! Focusing on myself with new perspectives enables me to create a strong…

How to do Calligraphy in 5 Easy Steps

Calligraphy is a fun hobby that you can save you a lot of money on birthday cards. Here are 5 easy steps to be a calligraphy master! I hope these steps helped. Keep up the good work! For reference I…