I'm trying to have some margins inside a button between the text and the borders but I don't know how to specify them.

The only way I know is using android:layout_width="...", but this is not relative to the text size.

Thanks!