Category : checked

I am trying to implement switch button on the toolbar. It shows on the toolbar and turns on and off but there is no functions implemented when it is on or off. I have the switch button in the menu as follows <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="" xmlns:app=""> <item android:id="@+id/action_settings" android:title="Settings" app:showAsAction="never"/> <item android:id="@+id/switch_button" android:title="Switch" ..

Read more