Toolbar.SetNavigationContentDescription(Int32) Method

Definition

Set a content description for the navigation button if one is present.

[Android.Runtime.Register("setNavigationContentDescription", "(I)V", "GetSetNavigationContentDescription_IHandler")]
public virtual void SetNavigationContentDescription (int resId);
[<Android.Runtime.Register("setNavigationContentDescription", "(I)V", "GetSetNavigationContentDescription_IHandler")>]
abstract member SetNavigationContentDescription : int -> unit
override this.SetNavigationContentDescription : int -> unit

Parameters

resId
Int32

Resource ID of a content description string to set, or 0 to clear the description

Attributes

Remarks

Set a content description for the navigation button if one is present. The content description will be read via screen readers or other accessibility systems to explain the action of the navigation button.

Java documentation for android.widget.Toolbar.setNavigationContentDescription(int).

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