I have an app with "menu" buttons. When I click on a button, a fragment is loaded. I want to assign a particular style on the button when it is clicked to indicate that it is active.
In js/html, it is so easy, I just add a class "active" but from I have read while searching online, it is not possible to change the style of a button in android once it has been set?? any alternative?