Share via


Toolbar.OverflowIcon Property

Definition

Return the current drawable used as the overflow icon. -or- Set the icon to use for the overflow button.

public virtual Android.Graphics.Drawables.Drawable? OverflowIcon { [Android.Runtime.Register("getOverflowIcon", "()Landroid/graphics/drawable/Drawable;", "GetGetOverflowIconHandler", ApiSince=23)] get; [Android.Runtime.Register("setOverflowIcon", "(Landroid/graphics/drawable/Drawable;)V", "GetSetOverflowIcon_Landroid_graphics_drawable_Drawable_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getOverflowIcon", "()Landroid/graphics/drawable/Drawable;", "GetGetOverflowIconHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setOverflowIcon", "(Landroid/graphics/drawable/Drawable;)V", "GetSetOverflowIcon_Landroid_graphics_drawable_Drawable_Handler", ApiSince=23)>]
member this.OverflowIcon : Android.Graphics.Drawables.Drawable with get, set

Property Value

The overflow icon drawable

Attributes

Remarks

Property getter documentation:

Return the current drawable used as the overflow icon.

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

Property setter documentation:

Set the icon to use for the overflow button.

Java documentation for android.widget.Toolbar.setOverflowIcon(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