共用方式為


Toolbar.ContentInsetStart Property

Definition

Gets the starting content inset for this toolbar.

public virtual int ContentInsetStart { [Android.Runtime.Register("getContentInsetStart", "()I", "GetGetContentInsetStartHandler")] get; }
[<get: Android.Runtime.Register("getContentInsetStart", "()I", "GetGetContentInsetStartHandler")>]
member this.ContentInsetStart : int

Property Value

The starting content inset for this toolbar

Attributes

Remarks

Gets the starting content inset for this toolbar.

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.

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

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

See also