Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Krosxx committed Jun 11, 2020
1 parent ec86c50 commit 33efade
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ delay(100)

## 视图检索

#### 提取文字
### 提取文字

<img width=300 src="screenshots/action_pick_text.gif"></img>

Expand All @@ -82,7 +82,7 @@ withContext(Dispatchers.Main) {
}
```

#### 视图搜索
### 视图搜索

1. 提供一个基础类 `ViewFinder`, 并封装一个 `ViewFinderWithMultiCondition` 来指定搜索条件,实现快速搜索

Expand Down Expand Up @@ -185,7 +185,7 @@ withContext(Dispatchers.Main) {

全局手势可以点击/长按任意坐标,执行路径手势。

#### 示例
### 示例

<img width=300 src="screenshots/action_gesture.gif"></img>

Expand Down Expand Up @@ -255,7 +255,7 @@ class DrawableAction : Action {

</details>

#### Api文档
### Api文档

**手势Api全部需要Android N+**

Expand All @@ -282,9 +282,9 @@ class DrawableAction : Action {

由于部分系统版本启动支持手势的无障碍服务会造成系统卡顿(掉帧),所以本库分为两个服务来设计。

#### 创建你的服务
### 创建你的服务

##### 基础服务
#### 基础服务

用来支持 布局检索,视图操作

Expand Down Expand Up @@ -361,7 +361,7 @@ class BaseAccessibilityService : AccessibilityApi() {

</details>

##### 手势服务
#### 手势服务

> 用于执行手势,Android N+可用
Expand Down Expand Up @@ -430,7 +430,7 @@ class GestureAccessibilityService : AccessibilityService() {

</details>

#### 额外配置
### 额外配置

在 Application 中初始化:

Expand All @@ -448,7 +448,7 @@ override fun onCreate() {



#### 合并服务
### 合并服务

如果你想使用一个服务来完成,可使用如下配置

Expand Down

0 comments on commit 33efade

Please sign in to comment.