Skip to content

Commit db45903

Browse files
bugs fixes
2 parents 4bff3a5 + 0b11f05 commit db45903

File tree

1 file changed

+41
-13
lines changed

1 file changed

+41
-13
lines changed

README.md

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
# SpotiView
1+
![](https://github.com/TutorialsAndroid/VSpot/blob/master/sample/src/main/res/mipmap-hdpi/ic_launcher.png)
22

3-
Sample usage in your activity:
3+
# VSpot [![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21) [![Known Vulnerabilities](https://snyk.io//test/github/TutorialsAndroid/VSpot/badge.svg?targetFile=sample/build.gradle)](https://snyk.io//test/github/TutorialsAndroid/VSpot?targetFile=sample/build.gradle) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/TutorialsAndroid/VSpot)
44

5-
new VSpotView.Builder(this)
6-
.setTitle("Spoti Title Text")
7-
.setContentText("Spoti Description Text\n .....Spoti Description Text\n .....Spoti Description Text .....")
8-
.setGravity(VSpotView.Gravity.AUTO) //optional
9-
.setDismissType(VSpotView.DismissType.outSide) //optional - default dismissable by TargetView
10-
.setTargetView(view)
11-
.setContentTextSize(12)//optional
12-
.setTitleTextSize(14)//optional
13-
.build()
14-
.show();
5+
This library allows to show intro of your app or a specific view that you want to high-light when you add new features to app.
6+
7+
## Sample Screen
8+
9+
![](https://github.com/TutorialsAndroid/VSpot/blob/master/art/device-2019-09-30-193059.png)
1510

1611
## Installation
1712

@@ -30,6 +25,19 @@ allprojects {
3025
```groovy
3126
compile 'com.github.TutorialsAndroid:Spoti:v1.0.19'
3227
```
28+
## Sample usage in your activity:
29+
30+
new VSpotView.Builder(this)
31+
.setTitle("Spoti Title Text")
32+
.setContentText("Spoti Description Text\n .....Spoti Description Text\n .....Spoti Description Text .....")
33+
.setGravity(VSpotView.Gravity.AUTO) //optional
34+
.setDismissType(VSpotView.DismissType.outSide) //optional - default dismissable by TargetView
35+
.setTargetView(view)
36+
.setContentTextSize(12)//optional
37+
.setTitleTextSize(14)//optional
38+
.build()
39+
.show();
40+
3341
## Change type face
3442

3543
new VSpotView.Builder(this)
@@ -95,4 +103,24 @@ compile 'com.github.TutorialsAndroid:Spoti:v1.0.19'
95103
| ------ | ------ |
96104
| outside | Dismissing with click on outside of MessageView |
97105
| anywhere | Dismissing with click on anywhere |
98-
| targetView | Dismissing with click on targetView(targetView is assigned with setTargetView method) |
106+
| targetView | Dismissing with click on targetView(targetView is assigned with setTargetView method) |
107+
108+
## License
109+
110+
* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
111+
112+
```
113+
Copyright 2019 VSpot
114+
115+
Licensed under the Apache License, Version 2.0 (the "License");
116+
you may not use this file except in compliance with the License.
117+
You may obtain a copy of the License at
118+
119+
http://www.apache.org/licenses/LICENSE-2.0
120+
121+
Unless required by applicable law or agreed to in writing, software
122+
distributed under the License is distributed on an "AS IS" BASIS,
123+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
124+
See the License for the specific language governing permissions and
125+
limitations under the License.
126+

0 commit comments

Comments
 (0)