I have a button in my Android app view, with a layout:width
of wrap_content
which automatically adjusts the width depending on the button's contents.
I want to apply some left-right padding to the button, so I want to add an extra 10px or so on top of the value of wrap_content
.
How can I accomplish this in XML?