Android.Widget.Toolbar Class
A standard toolbar for use within application content.

See Also: Toolbar Members

Syntax

[Android.Runtime.Register("android/widget/Toolbar", DoNotGenerateAcw=true)]
public class Toolbar : Android.Views.ViewGroup

Remarks

A standard toolbar for use within application content.

A Toolbar is a generalization of Android.App.ActionBar for use within application layouts. While an action bar is traditionally part of an Android.App.Activity opaque window decor controlled by the framework, a Toolbar may be placed at any arbitrary level of nesting within a view hierarchy. An application may choose to designate a Toolbar as the action bar for an Activity using the Android.App.Activity.SetActionBar(Toolbar) method.

Toolbar supports a more focused feature set than ActionBar. From start to end, a toolbar may contain a combination of the following optional elements:

In modern Android UIs developers should lean more on a visually distinct color scheme for toolbars than on their application icon. The use of application icon plus title as a standard layout is discouraged on API 21 devices and newer.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0