Skip to content

Fixes sample code in README.md #87 #88

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ We saw this kind of showcase on [Fabulous App](http://www.thefabulous.co/) and w
```java
new MaterialIntroView.Builder(this)
.enableDotAnimation(true)
.enableIcon(false)
.enableIcon(false)
.setFocusGravity(FocusGravity.CENTER)
.setFocusType(Focus.MINIMUM)
.setDelayMillis(500)
.enableFadeAnimation(true)
.performClick(true)
.setInfoText("Hi There! Click this card and see what happens.")
.setShapeType(ShapeType.CIRCLE)
.setShape(ShapeType.CIRCLE)
.setTarget(view)
.setUsageId("intro_card") //THIS SHOULD BE UNIQUE ID
.show();
Expand Down Expand Up @@ -80,8 +80,8 @@ dependencies {
.setInfoTextSize(30) //Change text size
```
```java
.setShapeType(ShapeType.CIRCLE) //Change shape of focus area
.setShapeType(ShapeType.RECTANGLE) //Change shape of focus area
.setShape(ShapeType.CIRCLE) //Change shape of focus area
.setShape(ShapeType.RECTANGLE) //Change shape of focus area
```
```java
.setCustomShape(Shape shape) //Use custom shape
Expand Down