次の方法で共有


Toolbar.ContentInsetStartWithNavigation Property

Definition

Gets the start content inset to use when a navigation button is present. -or- Sets the start content inset to use when a navigation button is present.

public virtual int ContentInsetStartWithNavigation { [Android.Runtime.Register("getContentInsetStartWithNavigation", "()I", "GetGetContentInsetStartWithNavigationHandler", ApiSince=24)] get; [Android.Runtime.Register("setContentInsetStartWithNavigation", "(I)V", "GetSetContentInsetStartWithNavigation_IHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getContentInsetStartWithNavigation", "()I", "GetGetContentInsetStartWithNavigationHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setContentInsetStartWithNavigation", "(I)V", "GetSetContentInsetStartWithNavigation_IHandler", ApiSince=24)>]
member this.ContentInsetStartWithNavigation : int with get, set

Property Value

the start content inset used when a navigation icon has been set in pixels

Attributes

Remarks

Property getter documentation:

Gets the start content inset to use when a navigation button is 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 #getContentInsetStart() and this value will be used during layout.

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

Property setter documentation:

Sets the start content inset to use when a navigation button is 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 #getContentInsetStart() and this value will be used during layout.

Java documentation for android.widget.Toolbar.setContentInsetStartWithNavigation(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