语言

ActionBar.TabCount 属性

定义

此方法在 API 级别 21 中已弃用。

public abstract int TabCount { [Android.Runtime.Register("getTabCount", "()I", "GetGetTabCountHandler")] get; }
[<get: Android.Runtime.Register("getTabCount", "()I", "GetGetTabCountHandler")>]
member this.TabCount : int

属性值

制表符计数

特性

注解

此方法在 API 级别 21 中已弃用。 操作栏导航模式已弃用,内联工具栏操作栏不支持。 请考虑改用其他常见导航模式。

返回当前向操作栏注册的选项卡数。

Android 参考。android.app.ActionBar.getTabCount

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

适用于