I couldn't change back button colour in the toolbar
But when I set this style
<style name="ToolbarTheme" parent="@style/ThemeOverlay.AppCompat.ActionBar"> <item name="colorControlNormal">@color/badge_color</item> </style>
it's working fine,
but I can't use this code because the colour comes from the API
So, how can I change this attribute "colorControlNormal" in a toolbar programmatically? or how can change back button color?
Asked
Active
Viewed 213 times
1

abdulrahman kassem
- 53
- 5
-
maybe [this](https://stackoverflow.com/a/33339115/47297210) – a_local_nobody Nov 01 '20 at 10:45
1 Answers
0
Change theme of Toolbar to custom theme with colorControlNormal attribute specified

Rustam Samandarov
- 813
- 7
- 16