setPaddingRelative

open fun setPaddingRelative(@Dimension start: Int, @Dimension top: Int, @Dimension end: Int, @Dimension bottom: Int)

Set the relative 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

start

the start padding in pixels

top

the top padding in pixels

end

the end padding in pixels

bottom

the bottom padding in pixels