Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Commit 56017b2

Browse files
authored
Update README.md
1 parent b278252 commit 56017b2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
</p>
77
Sample usage in your activity:
88

9-
GuideView guideView = new GuideView(this, view);
10-
guideView.setTitle("Guide Title Text");
11-
guideView.setContentText("Guide Description Text\n .....Guide Description Text\n .....Guide Description Text .....");
12-
guideView.setGravity(GuideView.Gravity.CENTER); //optional - default is AUTO
13-
guideView.show();
9+
new GuideView.Builder(this)
10+
.setTitle("Guide Title Text")
11+
.setContentText("Guide Description Text\n .....Guide Description Text\n .....Guide Description Text .....")
12+
.setGravity(GuideView.Gravity.CENTER)//optional
13+
.setTargetView(view)
14+
.setContentTextSize(12)//optional
15+
.setTitleTextSize(14)//optional
16+
.build()
17+
.show();
1418

1519

0 commit comments

Comments
 (0)