João Armando
João Armando

Reputation: 167

toolbar icon's not totaly white

Lately I have had this problem, which is quite annoying where an icon is not "totally" white, it is in a half gray tone, there are two icons below for a better understanding, I would like the "search" icon to be the same color That of "completed."

enter image description here

Upvotes: 0

Views: 345

Answers (3)

João Armando
João Armando

Reputation: 167

I deeply appreciate all the help. I was able to solve this using an SVG asset vector.

Upvotes: 0

from56
from56

Reputation: 4127

Verify if the icon you are using has some transparency. If your are using icons from the android SDK icon library then many of them have semi-transparency and the result is some mix between white and the background color.

If you want a fully white icon then you need a not transparent icon.

Upvotes: 0

Rahul
Rahul

Reputation: 10635

You can change colors in one go.

<style name="YourAppTheme" parent="AppTheme">
    <item name="android:textColorSecondary">@color/white</item>
</style>

Set color in a theme and Apply that theme to your App. If you already have theme then just add android:textColorSecondary in that theme.

Upvotes: 1

Related Questions