Android.Widget.Toolbar.SetContentInsetsRelative Method
Set the content insets for this toolbar relative to layout direction.

Syntax

[Android.Runtime.Register("setContentInsetsRelative", "(II)V", "GetSetContentInsetsRelative_IIHandler")]
public virtual void SetContentInsetsRelative (int contentInsetStart, int contentInsetEnd)

See Also

Toolbar.SetContentInsetsAbsolute(int, System.Int32)
Toolbar.ContentInsetStart
Toolbar.ContentInsetEnd
Toolbar.ContentInsetLeft
Toolbar.ContentInsetRight

Parameters

contentInsetStart
Content inset for the toolbar starting edge
contentInsetEnd
Content inset for the toolbar ending edge

Remarks

Set the content insets for this toolbar relative to layout direction.

The content inset affects the valid area for Toolbar content other than the navigation button and menu. Insets define the minimum margin for these components and can be used to effectively align Toolbar content along well-known gridlines.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0