D
D
dimasik1002002018-02-09 19:58:32
Java
dimasik100200, 2018-02-09 19:58:32

How can I make it so that when the icon in the bottom navigation drawer is clicked, it is not the standard dark gray color, but another?

How can I make it so that when the icon in the bottom navigation drawer is clicked, it is not the standard dark gray color, but another? And it is also necessary that the color is taken from the color resource.
These commands do not offer, they do not give the desired result

app:tint
app:itemIconTint

5a7dd335e1bc9723860259.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Thymomenos Gata, 2018-02-12
@prumin

In theory, the color of the pressed button will be the same as the appbar / toolbar (short upper part with the name of the application). And this is solved by editing the theme.
in the manifest you specify the theme,
and in the style folder you have style.xml, experiment with colors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question