How to create a shortcut to toggle setting?

I want to create a shortcut that toggle oneplus 7 pro's Lock "Home Screen Layout" and another shortcut that toggle the built in hidden feature "Make screen extra dim". I was able to do them with screen interaction, but is there a better or faster way to do this? Thanks!
 

MacroDroidDev

Administrator
Staff member
You could try looking for relevant settings in the system settings action. Vendor specific settings are often stored in the settings, but please note changing these values does not always work correctly as sometimes the changed value gets updated but the value will only be read when (for example) the device is rebooted.
 
You could try looking for relevant settings in the system settings action. Vendor specific settings are often stored in the settings, but please note changing these values does not always work correctly as sometimes the changed value gets updated but the value will only be read when (for example) the device is rebooted.
thanks for helping!
 
Top