-1

I'm new to Android and i'm making tab bar using Google's SlidingTabLayout. I have a question that why does these Icons are too dark. See this picture

enter image description here

help me to understand this

Charuක
  • 12,953
  • 5
  • 50
  • 88

3 Answers3

1

In layout xml, You can add

android:tint="#FF545454" //Add the color you want

Example:

<ImageView
        android:layout_width="60sp"
        android:layout_height="60sp"
        android:id="@+id/ic_home
        android:src="@drawable/ic_home" 
        android:tint="#FF545454" />
0

Go here: https://material.io/icons/

Both dark and light versions are available for each icon.

If you want a different colour for the icon, follow this:

Is it possible to change material design icon color from xml in Android?

Community
  • 1
  • 1
Akshar Patel
  • 8,998
  • 6
  • 35
  • 50
0

Download other Icons from Google icons site (you can customize their colors) and adjust there colors , and then replace them with the new ones.

Below is the link . Google material design Icons

Lutaaya Huzaifah Idris
  • 3,596
  • 8
  • 38
  • 77