app:tbSwipeSensitivityPixels="0" I am trying this to disable toggle to turn on/turn off, but still swipe gesture is allowing toggle to enable/diable. Please let me know, how can I disable it? My requirement ifs to keep on the toggle and user cannot turn off it.