How to put space between switch button and its text in android?
I had the same issue, but for me the accepted answer of Sravan Sriram did not solve the problem. What worked for me was the tag android:switchPadding = “10dp” Minimum space between the switch and caption text. docs