center icon in small send button (#4875)
2 users complained already 😔 Before:  After: 
This commit is contained in:
parent
eaa6f1be73
commit
3db8e0b5a3
2 changed files with 3 additions and 2 deletions
|
|
@ -38,9 +38,9 @@ class TootButton
|
|||
init {
|
||||
if (smallStyle) {
|
||||
setIconResource(R.drawable.ic_send_24dp)
|
||||
iconPadding = 0
|
||||
} else {
|
||||
setText(R.string.action_send)
|
||||
iconGravity = ICON_GRAVITY_TEXT_START
|
||||
}
|
||||
val padding = resources.getDimensionPixelSize(R.dimen.toot_button_horizontal_padding)
|
||||
setPadding(padding, 0, padding, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue