ActionBar.SetDisplayShowCustomEnabled(Boolean) Method

Definition

Set whether a custom view should be displayed, if set.

[Android.Runtime.Register("setDisplayShowCustomEnabled", "(Z)V", "GetSetDisplayShowCustomEnabled_ZHandler")]
public abstract void SetDisplayShowCustomEnabled (bool showCustom);
[<Android.Runtime.Register("setDisplayShowCustomEnabled", "(Z)V", "GetSetDisplayShowCustomEnabled_ZHandler")>]
abstract member SetDisplayShowCustomEnabled : bool -> unit

Parameters

showCustom
Boolean

true if the currently set custom view should be displayed, false otherwise.

Attributes

Remarks

Set whether a custom view should be displayed, if set.

To set several display options at once, see the setDisplayOptions methods.

Java documentation for android.app.ActionBar.setDisplayShowCustomEnabled(boolean).

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

See also

  • DisplayOptions
  • <xref:Android.App.ActionBar.SetDisplayOptions(Android.App.ActionBarDisplayOptions%2c+Android.App.ActionBarDisplayOptions)>