FileDocCategorySizeDatePackage
AccessibleLinearLayout.javaAPI DocAndroid 5.1 API1585Thu Mar 12 22:22:50 GMT 2015com.android.datetimepicker

AccessibleLinearLayout

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

Fields Summary
Constructors Summary
public AccessibleLinearLayout(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());