I'm using navigation component and material toolbar. I've just setup navigation component with material toolbar. By doing so whenever fragment changed the back button shown and the title of material toolbar changed by navigation component automatically.
The question is I just want to change the title gravity into center without removing those navigation components toolbar support.
How can I do that ?
Note : I`ve tried to change the toolbar style, but it seems does not work. And creating an extra text view into toolbar view its not a solution since I want to use navigation component toolbar support.
Thanks in advance.