Aracılığıyla paylaş


Toolbar.ContentInsetEndWithActions Property

Definition

Gets the end content inset to use when action buttons are present. -or- Sets the start content inset to use when action buttons are present.

public virtual int ContentInsetEndWithActions { [Android.Runtime.Register("getContentInsetEndWithActions", "()I", "GetGetContentInsetEndWithActionsHandler", ApiSince=24)] get; [Android.Runtime.Register("setContentInsetEndWithActions", "(I)V", "GetSetContentInsetEndWithActions_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getContentInsetEndWithActions", "()I", "GetGetContentInsetEndWithActionsHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setContentInsetEndWithActions", "(I)V", "GetSetContentInsetEndWithActions_IHandler", ApiSince=24)>]
member this.ContentInsetEndWithActions : int with get, set

Property Value

the end content inset used when a menu has been set in pixels

Attributes

Remarks

Property getter documentation:

Gets the end content inset to use when action buttons are present.

Different content insets are often called for when additional buttons are present in the toolbar, as well as at different toolbar sizes. The larger value of #getContentInsetEnd() and this value will be used during layout.

Java documentation for android.widget.Toolbar.getContentInsetEndWithActions().

Property setter documentation:

Sets the start content inset to use when action buttons are present.

Different content insets are often called for when additional buttons are present in the toolbar, as well as at different toolbar sizes. The larger value of #getContentInsetEnd() and this value will be used during layout.

Java documentation for android.widget.Toolbar.setContentInsetEndWithActions(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to