diff --git a/README.md b/README.md index 2e11492..a9e9f7a 100644 --- a/README.md +++ b/README.md @@ -12,24 +12,28 @@ Spotlight is an Android library used to onboard users by showcasing specific fea #Usage ```java new SpotlightView.Builder(this) - .setRevealAnimationDuration(400) + .introAnimationDuration(400) .enableRevalAnimation(isRevealEnabled) .performClick(true) - .fadinTextDuration(400) + .fadeinTextDuration(400) + //.setTypeface(FontUtil.get(this, "RemachineScript_Personal_Use")) .headingTvColor(Color.parseColor("#eb273f")) .headingTvSize(32) .headingTvText("Love") .subHeadingTvColor(Color.parseColor("#ffffff")) .subHeadingTvSize(16) .subHeadingTvText("Like the picture?\nLet others know.") - .setMaskColor(Color.parseColor("#dc000000")) - .setTarget(view) + .maskColor(Color.parseColor("#dc000000")) + .target(view) .lineAnimDuration(400) .lineAndArcColor(Color.parseColor("#eb273f")) .dismissOnTouch(true) + .dismissOnBackPress(true) .enableDismissAfterShown(true) - .setUsageId(usageId) + .usageId(usageId) //UNIQUE ID .show(); + + ``` ## Download