From e22ec89206ab9974c2a5f1ea885ee04b70e0ab17 Mon Sep 17 00:00:00 2001 From: Adwait Samant <50566871+Adw41t@users.noreply.github.com> Date: Sun, 1 Aug 2021 23:23:44 +0530 Subject: [PATCH] Update README.md Added changes related to color change of MessageBox, Title, ContentText and addition of Skip button. --- README.md | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dfe8b09..48fd091 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,36 @@ new GuideView.Builder(this) .setDismissType(DismissType.outSide) //optional - default dismissible by TargetView .build() .show(); -``` +``` + +## Change title and Content text color + +```java +new GuideView.Builder(this) + .setTitle("Guide Title Text") + .setContentText("Guide Description Text\n .....Guide Description Text\n .....Guide Description Text .....") + .setTargetView(view) + .setMessageTitleColor(Color.BLACK)//optional - default is BLACK + .setMessageContentTextColor(Color.BLACK)//optional - default is BLACK + .setDismissType(DismissType.outSide) //optional - default dismissible by TargetView + .build() + .show(); +``` + +## Change MessageBox color and color of Line and Pointer + +```java +new GuideView.Builder(this) + .setTitle("Guide Title Text") + .setContentText("Guide Description Text\n .....Guide Description Text\n .....Guide Description Text .....") + .setTargetView(view) + .setMessageBoxColor(Color.WHITE) //optional - default is WHITE + .setLineAndPointerColor(Color.WHITE) //optional - default is WHITE + .setDismissType(DismissType.outSide) //optional - default dismissible by TargetView + .build() + .show(); +``` + ## Change Gravity ```java @@ -112,6 +141,17 @@ new GuideView.Builder(this) .build() .show(); ``` + +## use Skip for Sequence of ShowCase +```java +new GuideView.Builder(this) + .setTitle("Guide Title Text") + .setTargetView(view) + .setSkip(true,view6) // view6 is supposed to be the last target view of the sequence. + .setDismissType(DismissType.outSide) //optional - default dismissible by TargetView + .build() + .show(); +``` ## Set Listener ```java