FileDocCategorySizeDatePackage
AccessibleTextView.javaAPI DocAndroid 5.1 API1569Thu Mar 12 22:22:50 GMT 2015com.android.datetimepicker

AccessibleTextView

public class AccessibleTextView extends android.widget.TextView
Fake Button class, used so TextViews can announce themselves as Buttons, for accessibility.

Fields Summary
Constructors Summary
public AccessibleTextView(android.content.Context context, android.util.AttributeSet attrs)

        super(context, attrs);
    
Methods Summary
public voidonInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent event)

        super.onInitializeAccessibilityEvent(event);
        event.setClassName(Button.class.getName());
    
public voidonInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo info)

        super.onInitializeAccessibilityNodeInfo(info);
        info.setClassName(Button.class.getName());