zcweng / SwitchButton

SwitchButton.An beautiful+lightweight+custom-style-easy switch widget for Android,minSdkVersion >= 11
https://github.com/zcweng/SwitchButton
MIT License
2.67k stars 415 forks source link

控件是否存在内置Margin或Padding? #46

Open KIDD-4869 opened 3 years ago

KIDD-4869 commented 3 years ago

从视图查看UI边距,明显可以看到控件距离上下左右都有一定的距离,请问是否存在内置Margin或Padding,有的话是多少?在适配UI的时候明显和设计图的大小不一致。