语言

Toolbar.ContentInsetStartWithNavigation 属性

定义

获取导航按钮存在时要使用的开始内容集。 - 或 - 设置导航按钮存在时要使用的开始内容内集。

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

属性值

导航图标设置为像素时使用的开始内容内集

特性

注解

属性 getter 文档:

获取导航按钮存在时要使用的开始内容集。

当工具栏中存在其他按钮以及不同工具栏大小时,通常会调用不同的内容内集。 其值 #getContentInsetStart() 越大,将在布局期间使用此值。

Java文档android.widget.Toolbar.getContentInsetStartWithNavigation()。

属性 setter 文档:

设置导航按钮存在时要使用的开始内容集。

当工具栏中存在其他按钮以及不同工具栏大小时,通常会调用不同的内容内集。 其值 #getContentInsetStart() 越大,将在布局期间使用此值。

Java文档android.widget.Toolbar.setContentInsetStartWithNavigation(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于