setTopMargin

open fun setTopMargin(topMargin: Int)

Sets the top margin for text in @text_view.

Note that this function is confusingly named. In CSS terms, the value set here is padding.

Parameters

topMargin

top margin in pixels