Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mreram committed Jan 21, 2018
2 parents 3d32847 + 61308cf commit 7b526ba
Showing 1 changed file with 45 additions and 5 deletions.
50 changes: 45 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,50 @@
</p>
Sample usage in your activity:

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



## Installation

maven:

```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```
Step 2. Add the dependency
```xml
<dependency>
<groupId>com.github.mreram</groupId>
<artifactId>ShowCaseView</artifactId>
<version>1.0.0</version>
</dependency>
```
gradle:

Add it in your root build.gradle at the end of repositories:
```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Step 2. Add the dependency
```groovy
compile 'com.github.mreram:ShowCaseView:1.0.0'
```

0 comments on commit 7b526ba

Please sign in to comment.