diff --git a/README.md b/README.md index 10fcaf2..1a8590d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # Spotlight Spotlight is a android library to onboard user by showcasing specfic features in the app. +[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html) + +[![API](https://img.shields.io/badge/API-11%2B-green.svg?style=flat)](https://android-arsenal.com/api?level=11) + #Screen @@ -125,10 +129,23 @@ Unique id for each spotlight ### dismissOnTouch(boolean) Dismiss spotlight on touch outside +# Configuration Method +```java +//Create global config instance to not write same config to builder +//again and again. +SpotlightConfig config = new SpotlightConfig(); +config.isDismissOnTouch(true); +config.setLineAndArcColor(0xFFFFFFFF); +... +.setConfiguration(config) // +``` #Author [Jitender Chaudhary](https://github.com/29jitender) +#Credits +[MaterialIntroView](https://github.com/iammert/MaterialIntroView) + ## License [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)