android.widget.TextView.onInitializeAccessibilityNodeInfo()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(160)

本文整理了Java中android.widget.TextView.onInitializeAccessibilityNodeInfo()方法的一些代码示例,展示了TextView.onInitializeAccessibilityNodeInfo()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TextView.onInitializeAccessibilityNodeInfo()方法的具体详情如下:
包路径:android.widget.TextView
类名称:TextView
方法名:onInitializeAccessibilityNodeInfo

TextView.onInitializeAccessibilityNodeInfo介绍

暂无

代码示例

代码示例来源:origin: wdullaer/MaterialDateTimePicker

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
  }
}

代码示例来源:origin: qiujuer/Genius-Android

@Override
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
  super.onInitializeAccessibilityNodeInfo(info);
  info.setClassName(TextView.class.getName());
}

代码示例来源:origin: wangdan/AisenWeiBo

public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    if (Build.VERSION.SDK_INT >= 14) {
      super.onInitializeAccessibilityNodeInfo(info);
      info.setClassName(Button.class.getName());
    }
  }
}

代码示例来源:origin: iSoron/uhabits

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
  }
}

代码示例来源:origin: com.albedinsky.android/ui

/**
 */
@Override
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
  super.onInitializeAccessibilityNodeInfo(info);
  info.setClassName(TextViewWidget.class.getName());
}

代码示例来源:origin: fython/Blackbulb

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
  }
}

代码示例来源:origin: alhazmy13/HijriDatePicker

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
  }
}

代码示例来源:origin: mohamad-amin/PersianMaterialDateTimePicker

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
  }
}

代码示例来源:origin: com.albedinsky.android/ui-widget-text

/**
 */
@Override
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
  super.onInitializeAccessibilityNodeInfo(info);
  info.setClassName(TextViewWidget.class.getName());
}

代码示例来源:origin: CiTuX/datetimepicker

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
  }
}

代码示例来源:origin: bkhezry/PersianDateRangePicker

@Override
 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
  super.onInitializeAccessibilityNodeInfo(info);
  info.setClassName(Button.class.getName());
 }
}

代码示例来源:origin: com.albedinsky.android/ui-widget-common

/**
 */
@Override
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
public void onInitializeAccessibilityNodeInfo(@NonNull AccessibilityNodeInfo info) {
  super.onInitializeAccessibilityNodeInfo(info);
  info.setClassName(TextViewWidget.class.getName());
}

代码示例来源:origin: FussenYu/MVP_Project

@SuppressLint("NewApi") @Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Chronometer.class.getName());
  }
}

代码示例来源:origin: henrichg/PhoneProfilesPlus

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(Button.class.getName());
  }
}

代码示例来源:origin: KishanV/Android-Music-Player

@Override
  public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
    super.onInitializeAccessibilityNodeInfo(info);
    info.setClassName(android.widget.EditText.class.getName());
  }
}

相关文章

TextView类方法