diff --git a/README.md b/README.md index 7bb2e86..666e22f 100644 --- a/README.md +++ b/README.md @@ -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(); @@ -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