<accessibility-service xmlns:android=“http://schemas.android.com/apk/res/android”
android:accessibilityEventTypes=“typeWindowStateChanged|typeNotificationStateChanged|typeViewClicked|typeAllMask”
android:accessibilityFeedbackType=“feedbackGeneric”
android:accessibilityFlags=“flagReportViewIds|flagRetrieveInteractiveWindows”
android:canRetrieveWindowContent=“true”
android:canRequestFilterKeyEvents=“true”
android:description="@string/accessibility_name"
android:notificationTimeout=“100”
android:canPerformGestures=“true”
/>
事件类型(EventType):
#TYPES_ALL_MASK:所有类型
#TYPE_VIEW_CLICKED :单击
#TYPE_VIEW_LONG_CLICKED :长按
#TYPE_VIEW_SELECTED :选中
#TYPE_VIEW_FOCUSED :获取焦点
#TYPE_VIEW_TEXT_CHANGED :文字改变
#TYPE_WINDOW_STATE_