The button views on Xamarin Forms seem to get extra padding applied when deployed to Android. I have set Resources/values/styles.xml under my Android project to have all spa
Well you can use the Device.Runtime platform, described on this link.
Basically you can choose the type of margin depending on the operating system.
if(Device.RuntimePlatform == Device.Android) button.margin = new Thickness(0);
Is this what you were looking for?