P Picon Member Licensed User Longtime User Oct 17, 2024 #1 Hello Everyone Has anyone tried changing the "Off color" parameter for the "Switch" object? In Visual Designer I set the "Off color" to #FF0000, but after running it on the device, this color is not there. The color of the "Switch" object in the "off" position is barely distinguishable from the color of the panel on which I placed the "Switch" (see the red arrow). Does anyone know how to change the "Off color"? The colors for the "On" and "Thumb color" positions can be changed and the change is visible on the device:
Hello Everyone Has anyone tried changing the "Off color" parameter for the "Switch" object? In Visual Designer I set the "Off color" to #FF0000, but after running it on the device, this color is not there. The color of the "Switch" object in the "off" position is barely distinguishable from the color of the panel on which I placed the "Switch" (see the red arrow). Does anyone know how to change the "Off color"? The colors for the "On" and "Thumb color" positions can be changed and the change is visible on the device:
Erel B4X founder Staff member Licensed User Longtime User Oct 20, 2024 #2 You can use B4XSwitch from XUI Views. It is very similar to the native switch and the color should change. Upvote 0
You can use B4XSwitch from XUI Views. It is very similar to the native switch and the color should change.