TextView.setRightMargin

Sets the default right margin for text in the text view. Tags in the buffer may override the default.

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

class TextView
void
setRightMargin

Parameters

rightMargin int

right margin in pixels