Lingua

AccessibilityNodeInfo.MathInfo.MathAttributeArg Field

Definition

An attribute used to associate a child element with one of the arguments in its parent's #MATH_ATTRIBUTE_INTENT value.

[Android.Runtime.Register("MATH_ATTRIBUTE_ARG", ApiSince=37)]
public const string MathAttributeArg;
[<Android.Runtime.Register("MATH_ATTRIBUTE_ARG", ApiSince=37)>]
val mutable MathAttributeArg : string

Field Value

Implements

Attributes

Remarks

An attribute used to associate a child element with one of the arguments in its parent's MATH_ATTRIBUTE_INTENT value.

The value of the arg attribute is a token that must match one of the argument names in the parent's intent value.

Use this attribute on a child node to explicitly link it to one of the argument placeholders in its parent's intent string. For example, if a parent node has intent="gcd($1, $2)", the child node representing the first parameter of the function should have its arg attribute set to "1".

Android reference for android.view.accessibility.AccessibilityNodeInfo.MathInfo.MATH_ATTRIBUTE_ARG.

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