Android.Views.View.SetPaddingRelative Method
Sets the relative padding.

Syntax

[Android.Runtime.Register("setPaddingRelative", "(IIII)V", "GetSetPaddingRelative_IIIIHandler")]
public virtual 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 View.PaddingStart, View.PaddingTop, View.PaddingEnd and View.PaddingBottom may be different from the values set in this call.

[Android Documentation]

Requirements

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