1
- # SpotiView
1
+ ![ ] ( https://github.com/TutorialsAndroid/VSpot/blob/master/sample/src/main/res/mipmap-hdpi/ic_launcher.png )
2
2
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 )
4
4
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 )
15
10
16
11
## Installation
17
12
@@ -30,6 +25,19 @@ allprojects {
30
25
``` groovy
31
26
compile 'com.github.TutorialsAndroid:Spoti:v1.0.19'
32
27
```
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
+
33
41
## Change type face
34
42
35
43
new VSpotView.Builder(this)
@@ -95,4 +103,24 @@ compile 'com.github.TutorialsAndroid:Spoti:v1.0.19'
95
103
| ------ | ------ |
96
104
| outside | Dismissing with click on outside of MessageView |
97
105
| 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