Toolbar.ContentInsetEndWithActions 属性

定义

获取在操作按钮存在时要使用的结束内容。 - 或 - 设置在操作按钮存在时要使用的开始内容内集。

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

属性值

设置菜单时使用的结束内容内集(以像素为单位)

属性

注解

属性 getter 文档:

获取在操作按钮存在时要使用的结束内容。

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

适用于 . 的 android.widget.Toolbar.getContentInsetEndWithActions()Java 文档

属性 setter 文档:

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

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

适用于 . 的 android.widget.Toolbar.setContentInsetEndWithActions(int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于