How to create iOS style SwitchCompat in Android
I want to create iOS style of SwitchCompat in Android like in the image above. I have tried with replacing app:track and android:thumb. However, I found out that I can't set a track width that is smaller than 2x of thumb width.
Below screenshot is my attempt at Android. You can see the switch track is significantly wider than native iOS Switch.