Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate the Target and realize the use of the square view on the basis of the circle #404

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
-update README.md
  • Loading branch information
huaweikai committed Aug 5, 2023
commit 9177619ac57f5421651195dce78729d1f41bf6c8
17 changes: 4 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<h1 align="center">
<img src="/.github/video.gif" width="280" height="498" alt="Video 1"/>
<img src="/.github/screenshot1.png" width="280" height="498" alt="Screenshot 1"/>
<img src="/.github/screenshot2.png" width="280" height="498" alt="Screenshot 2"/>
<img src="/.github/screenshot3.jpg" width="280" height="498" alt="Screenshot 2"/><br/>
<img src="/.github/screenshot2.png" width="280" height="615" alt="Screenshot 2"/>
<img src="/.github/screenshot3.jpg" width="280" height="615" alt="Screenshot 2"/><br/>

TapTargetView
</h1>
Expand All @@ -13,23 +13,15 @@

An implementation of tap targets from [Google's Material Design guidelines on feature discovery](https://material.io/archive/guidelines/growth-communications/feature-discovery.html).

**Min SDK:** 14
**Min SDK:** 21

[JavaDoc](https://javadoc.jitpack.io/com/github/KeepSafe/TapTargetView/latest/javadoc/)

## Installation

TapTargetView is distributed using [MavenCentral](https://search.maven.org/artifact/com.getkeepsafe.taptargetview/taptargetview).

```groovy
repositories {
mavenCentral()
}

dependencies {
implementation 'com.getkeepsafe.taptargetview:taptargetview:x.x.x'
}
```
## No Publish

If you wish, you may also use TapTargetView with [jitpack](https://jitpack.io/#KeepSafe/TapTargetView).
For snapshots, please follow the instructions [here](https://jitpack.io/#KeepSafe/TapTargetView/-SNAPSHOT).
Expand Down Expand Up @@ -60,7 +52,6 @@ For snapshots, please follow the instructions [here](https://jitpack.io/#KeepSaf
.setTargetShapeType(TapTargetShapeType.RectAngle(16)),
null
);
}
```

You may also choose to target your own custom `Rect` with `TapTarget.forBounds(Rect, ...)`
Expand Down