setContentPadding

open fun setContentPadding(left: Int, top: Int, right: Int, bottom: Int)

Sets the padding of the content view. The default padding of the content view (i.e. text view) is 5dp top/bottom and 10dp left/right.

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.