TextView.setTopMargin

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.

class TextView
void
setTopMargin
()

Parameters

topMargin int

top margin in pixels

Meta

Since

3.18