Is ist possible to reduce the text padding inside a normal Android Button a bit, in order to reduce the button´s width?
Of course the whole text should be still visible.
There're android:minHeight
and android:minWidth
attribute already set on a button. Make them 0dp
or 1dp
to make the background fit to the text.
The "normal" Android button varies between themes, but you probably want to define a custom style for the button that inherits from your button of choice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With