ISubMenu.SetHeaderView(View) Method

Definition

Sets the header of the submenu to the View given in <var>view</var>.

[Android.Runtime.Register("setHeaderView", "(Landroid/view/View;)Landroid/view/SubMenu;", "GetSetHeaderView_Landroid_view_View_Handler:Android.Views.ISubMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.ISubMenu? SetHeaderView (Android.Views.View? view);
[<Android.Runtime.Register("setHeaderView", "(Landroid/view/View;)Landroid/view/SubMenu;", "GetSetHeaderView_Landroid_view_View_Handler:Android.Views.ISubMenuInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetHeaderView : Android.Views.View -> Android.Views.ISubMenu

Parameters

view
View

The View used for the header.

Returns

This SubMenu so additional setters can be called.

Attributes

Remarks

Sets the header of the submenu to the View given in <var>view</var>. This replaces the header title and icon (and those replace this).

Java documentation for android.view.SubMenu.setHeaderView(android.view.View).

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