Toolbar.Logo Property

Definition

Return the current logo drawable. -or- Set a logo drawable.

public virtual Android.Graphics.Drawables.Drawable? Logo { [Android.Runtime.Register("getLogo", "()Landroid/graphics/drawable/Drawable;", "GetGetLogoHandler")] get; [Android.Runtime.Register("setLogo", "(Landroid/graphics/drawable/Drawable;)V", "GetSetLogo_Landroid_graphics_drawable_Drawable_Handler")] set; }
[<get: Android.Runtime.Register("getLogo", "()Landroid/graphics/drawable/Drawable;", "GetGetLogoHandler")>]
[<set: Android.Runtime.Register("setLogo", "(Landroid/graphics/drawable/Drawable;)V", "GetSetLogo_Landroid_graphics_drawable_Drawable_Handler")>]
member this.Logo : Android.Graphics.Drawables.Drawable with get, set

Property Value

The current logo drawable

Attributes

Remarks

Property getter documentation:

Return the current logo drawable.

Java documentation for android.widget.Toolbar.getLogo().

Property setter documentation:

Set a logo drawable.

This drawable should generally take the place of title text. The logo cannot be clicked. Apps using a logo should also supply a description using #setLogoDescription(int).

Java documentation for android.widget.Toolbar.setLogo(android.graphics.drawable.Drawable).

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