Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

TextInputLayout.AccessibilityDelegate

public static class TextInputLayout.AccessibilityDelegate
extends AccessibilityDelegateCompat

java.lang.Object
   ↳ androidx.core.view.AccessibilityDelegateCompat
     ↳ com.google.android.material.textfield.TextInputLayout.AccessibilityDelegate


An TextInputLayout.AccessibilityDelegate intended to be set on an EditText or TextInputEditText with setTextInputAccessibilityDelegate(TextInputLayout.AccessibilityDelegate) to provide attributes for accessibility that are managed by TextInputLayout.

Summary

Public constructors

TextInputLayout.AccessibilityDelegate(TextInputLayout layout)

Public methods

void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info)

Inherited methods

From class androidx.core.view.AccessibilityDelegateCompat
From class java.lang.Object

Public constructors

TextInputLayout.AccessibilityDelegate

TextInputLayout.AccessibilityDelegate (TextInputLayout layout)

Parameters
layout TextInputLayout

Public methods

onInitializeAccessibilityNodeInfo

void onInitializeAccessibilityNodeInfo (View host, 
                AccessibilityNodeInfoCompat info)

Parameters
host View

info AccessibilityNodeInfoCompat