I would like to know if it is possible to vary the color / theme of the toolBar and Tabs depending on the button that the user clicks, a kind of If or Switch Case in the XML itself with the layout, where depending on the user to choose, toolBar and Tabs have a specific theme / color. If it is possible, how could I do it?