set Padding
open fun setPadding(@Dimension left: Int, @Dimension top: Int, @Dimension right: Int, @Dimension bottom: Int)
Set the padding. This is applied to both the background and the image, and does not affect the content padding differentiating the image from the background.
Parameters
left
the left padding in pixels
top
the top padding in pixels
right
the right padding in pixels
bottom
the bottom padding in pixels