From fa8ee62a3594d38b8e641f98351b05b105dd7fbf Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Ansari Date: Tue, 12 Nov 2019 23:37:33 +0530 Subject: [PATCH 1/2] Fix alignment of usage example code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7bb2e86..3a11a00 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ 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) From 5fd8ebef9358edd2de6ad81aa8733c0eed42138b Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Ansari Date: Tue, 12 Nov 2019 23:38:05 +0530 Subject: [PATCH 2/2] Fix method reference in sample code --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3a11a00..666e22f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ new MaterialIntroView.Builder(this) .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