Xamarin.Forms: Remove padding inside Button
问题 I want to have a small button. The height of the button is 30. On some plattforms (Android, UWP) the text inside the button is cut off. That's because there is a padding between the text and the outside border. One option is to make the button bigger, but there is enough space for the text. Is there an option for setting the inside padding? 回答1: On Android, you can do this with styling. Resources/values-v21/styles.xml <?xml version="1.0" encoding="utf-8" ?> <resources> <style name="myTheme"