Sliding Item in Android has a gap on top and bottom

After upgrading my app, there is a 1px gap on the top and bottom of each sliding option button in Android but not in iOS.

What’s the reason for this? And is there a way to get rid of it without overriding it with my own CSS?

iOS:

image

Android:

image