ActionBar.Tab.SetCustomView 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetCustomView(Int32) |
已过时.
设置要用于此选项卡的自定义视图。 |
SetCustomView(View) |
已过时.
设置要用于此选项卡的自定义视图。 |
SetCustomView(Int32)
注意
deprecated
设置要用于此选项卡的自定义视图。
[Android.Runtime.Register("setCustomView", "(I)Landroid/app/ActionBar$Tab;", "GetSetCustomView_IHandler")]
[System.Obsolete("deprecated")]
public abstract Android.App.ActionBar.Tab SetCustomView (int layoutResId);
[<Android.Runtime.Register("setCustomView", "(I)Landroid/app/ActionBar$Tab;", "GetSetCustomView_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetCustomView : int -> Android.App.ActionBar.Tab
参数
- layoutResId
- Int32
用于膨胀和使用自定义选项卡视图的布局资源
返回
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
SetCustomView(View)
注意
deprecated
设置要用于此选项卡的自定义视图。
[Android.Runtime.Register("setCustomView", "(Landroid/view/View;)Landroid/app/ActionBar$Tab;", "GetSetCustomView_Landroid_view_View_Handler")]
[System.Obsolete("deprecated")]
public abstract Android.App.ActionBar.Tab SetCustomView (Android.Views.View view);
[<Android.Runtime.Register("setCustomView", "(Landroid/view/View;)Landroid/app/ActionBar$Tab;", "GetSetCustomView_Landroid_view_View_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetCustomView : Android.Views.View -> Android.App.ActionBar.Tab
参数
- view
- View
要用作选项卡的自定义视图。
返回
- 属性
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。