K
K
Kirill2018-08-06 14:36:07
Android
Kirill, 2018-08-06 14:36:07

How can I change the value #154fbc from the code to #000000?

How can I change the value from the code to let #000000 and is it even possible to do this? An example in kotlin is desirable, but java will do. <color name="colorPrimary">#154fbc</color>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Varakosov, 2018-08-06
@PainMain

The values ​​specified in the resources are immutable, therefore - no way. However, most likely you are trying to recolor the toolbar?
Here it is , showing a more complex example of working with themes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question