TextView.setRightMargin

void setRightMargin(int rightMargin)

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.

Parameters

rightMarginright margin in pixels