set_top_margin


Description:

[ Version ( since = "3.18" ) ]
public void set_top_margin (int top_margin)

Sets the top margin for text in this.

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

Parameters:

this

a TextView

top_margin

top margin in pixels