Android.Widget.TextView.SetPaddingRelative Method
Sets the relative padding.

Syntax

[Android.Runtime.Register("setPaddingRelative", "(IIII)V", "GetSetPaddingRelative_IIIIHandler")]
public override void SetPaddingRelative (int start, int top, int end, int bottom)

Parameters

start
the start padding in pixels
top
the top padding in pixels
end
the end padding in pixels
bottom
the bottom padding in pixels

Remarks

Sets the relative padding. The view may add on the space required to display the scrollbars, depending on the style and visibility of the scrollbars. So the values returned from Android.Views.View.PaddingStart, Android.Views.View.PaddingTop, Android.Views.View.PaddingEnd and Android.Views.View.PaddingBottom may be different from the values set in this call.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16