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 ) [ ![ Android Arsenal ] ( https://img.shields.io/badge/Android%20Arsenal-CrashX-red.svg?style=flat-square )] ( https://android-arsenal.com/details/1/7581 ) [ ![ 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
3126compile '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,4 @@ 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) |
0 commit comments