Udostępnij za pośrednictwem


ActionBar.SetDisplayUseLogoEnabled(Boolean) Method

Definition

Set whether to display the activity logo rather than the activity icon.

[Android.Runtime.Register("setDisplayUseLogoEnabled", "(Z)V", "GetSetDisplayUseLogoEnabled_ZHandler")]
public abstract void SetDisplayUseLogoEnabled (bool useLogo);
[<Android.Runtime.Register("setDisplayUseLogoEnabled", "(Z)V", "GetSetDisplayUseLogoEnabled_ZHandler")>]
abstract member SetDisplayUseLogoEnabled : bool -> unit

Parameters

useLogo
Boolean

true to use the activity logo, false to use the activity icon.

Attributes

Remarks

Set whether to display the activity logo rather than the activity icon. A logo is often a wider, more detailed image.

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

Java documentation for android.app.ActionBar.setDisplayUseLogoEnabled(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)>