List of usage examples for android.view.accessibility AccessibilityNodeInfo setEnabled
public void setEnabled(boolean enabled)
From source file:com.actionbarsherlock.internal.widget.IcsAdapterView.java
@Override public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { super.onInitializeAccessibilityNodeInfo(info); info.setScrollable(isScrollableForAccessibility()); View selectedView = getSelectedView(); if (selectedView != null) { info.setEnabled(selectedView.isEnabled()); }/*from w ww.ja va 2 s . c o m*/ }