This repository was archived by the owner on Nov 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +45
-5
lines changed
Expand file tree Collapse file tree 1 file changed +45
-5
lines changed Original file line number Diff line number Diff line change 66</p >
77Sample 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
20+
21+ ## Installation
22+
23+ maven:
24+
25+ ``` xml
26+ <repositories >
27+ <repository >
28+ <id >jitpack.io</id >
29+ <url >https://jitpack.io</url >
30+ </repository >
31+ </repositories >
32+ ```
33+ Step 2. Add the dependency
34+ ``` xml
35+ <dependency >
36+ <groupId >com.github.mreram</groupId >
37+ <artifactId >ShowCaseView</artifactId >
38+ <version >1.0.0</version >
39+ </dependency >
40+ ```
41+ gradle:
42+
43+ Add it in your root build.gradle at the end of repositories:
44+ ``` groovy
45+ allprojects {
46+ repositories {
47+ ...
48+ maven { url 'https://jitpack.io' }
49+ }
50+ }
51+ ```
52+ Step 2. Add the dependency
53+ ``` groovy
54+ compile 'com.github.mreram:ShowCaseView:1.0.0'
55+ ```
You can’t perform that action at this time.
0 commit comments