Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Commit 7b526ba

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 3d32847 + 61308cf commit 7b526ba

File tree

1 file changed

+45
-5
lines changed

1 file changed

+45
-5
lines changed

README.md

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,50 @@
66
</p>
77
Sample usage in your activity:
88

9-
GuideView guideView = new GuideView(this, view);
10-
guideView.setTitle("Guide Title Text");
11-
guideView.setContentText("Guide Description Text\n .....Guide Description Text\n .....Guide Description Text .....");
12-
guideView.setGravity(GuideView.Gravity.CENTER); //optional - default is AUTO
13-
guideView.show();
9+
new GuideView.Builder(this)
10+
.setTitle("Guide Title Text")
11+
.setContentText("Guide Description Text\n .....Guide Description Text\n .....Guide Description Text .....")
12+
.setGravity(GuideView.Gravity.CENTER)//optional
13+
.setTargetView(view)
14+
.setContentTextSize(12)//optional
15+
.setTitleTextSize(14)//optional
16+
.build()
17+
.show();
1418

1519

20+
21+
## Installation
22+
23+
maven:
24+
25+
```xml
26+
<repositories>
27+
<repository>
28+
<id>jitpack.io</id>
29+
<url>https://jitpack.io</url>
30+
</repository>
31+
</repositories>
32+
```
33+
Step 2. Add the dependency
34+
```xml
35+
<dependency>
36+
<groupId>com.github.mreram</groupId>
37+
<artifactId>ShowCaseView</artifactId>
38+
<version>1.0.0</version>
39+
</dependency>
40+
```
41+
gradle:
42+
43+
Add it in your root build.gradle at the end of repositories:
44+
```groovy
45+
allprojects {
46+
repositories {
47+
...
48+
maven { url 'https://jitpack.io' }
49+
}
50+
}
51+
```
52+
Step 2. Add the dependency
53+
```groovy
54+
compile 'com.github.mreram:ShowCaseView:1.0.0'
55+
```

0 commit comments

Comments
 (0)