Hey, me again.
I needed a way to enable or disable sound/vibration from the app.
This creates an options menu with both toggles. (there was already an unused (?) menu_main.xml layout so I just changed that one)
The settings get saved to android shared preferences so they should stick across restarts.
Also moved some hardcoded strings to the strings.xml file for consistency.
Not sure if you'll want to merge this in or not, but here it is anyway in case its useful. (tested on my android 7.1.2 device only)
Hey, me again. I needed a way to enable or disable sound/vibration from the app. This creates an options menu with both toggles. (there was already an unused (?) menu_main.xml layout so I just changed that one) The settings get saved to android shared preferences so they should stick across restarts. Also moved some hardcoded strings to the strings.xml file for consistency. Not sure if you'll want to merge this in or not, but here it is anyway in case its useful. (tested on my android 7.1.2 device only)