Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

Spotlight

> 编程语言
Open source

Spotlight is an Android library used to onboard users by showcasing specific features in the app.

1.3K stars0 likes0 views
WebsiteGitHub

About

Spotlight is an Android library used to onboard users by showcasing specific features in the app.

THIS LIBRARY IS NO LONGER MAINTAINED. I suggest you check alternatives.

Spotlight

Spotlight is an Android library used to onboard users by showcasing specific features in the app.

Screen

Usage

…

Download

Gradle

  1. Define the jitpack remote Maven repository inside the repositories block of your root build.gradle file

    javascript
    allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
    }
  2. Add the Spotlight dependency

    javascript
    dependencies {
        ...
        implementation 'com.github.wooplr:Spotlight:1.2.3'
    }

Maven

  1. Define the jitpack remote Maven repository in your pom.xml at the end of repositories

    xml
    
        ...
        
            jitpack.io
            https://jitpack.io
        
    
  2. Add the Spotlight dependency

    xml
    
        com.github.wooplr
        Spotlight
        1.2.3
    

Builder Methods

maskColor(int)

Overlay Color

target(View)

View to showcase

introAnimationDuration(long)

Intro animation duration (For Reveal and Fadein)

enableRevealAnimation(boolean)

Enable reveal animation (Only for Lollipop and above)

fadeinTextDuration(long)

Fade in animation duration for spotlight text (Heading and Sub-heading)

headingTvSize(int)

Size of heading text

headingTvColor(int)

Color of heading text

headingTvText(CharSequence)

Text to display in heading

subHeadingTvSize(int)

Size of sub-heading text

subHeadingTvColor(int)

Color of sub-heading text

subHeadingTvText(CharSequence)

Text to display in sub-heading

setTypeface(Typeface)

Custom font for text in spotlight view

lineAndArcColor(int)

Color of the spotlight line

lineAnimDuration(long)

Line animation duration

performClick(boolean)

Perform a click on target view

usageId(String)

Unique id for each spotlight

dismissOnTouch(boolean)

Dismiss spotlight on touch outside

enableDismissAfterShown(boolean)

Dismiss spotlight on touch outside after spotlight is completely visible

Configuration Method

java
//Create global config instance to reuse it
SpotlightConfig config = new SpotlightConfig();
config.isDismissOnTouch(true);
config.setLineAndArcColor(0xFFFFFFFF);
...
.setConfiguration(config)

Author

Jitender Chaudhary

Proguard rules

java
-keep class com.wooplr.spotlight.** { *; }
-keep interface com.wooplr.spotlight.**
-keep enum com.wooplr.spotlight.**

Credits

MaterialIntroView

Rahul Khanna

Suraj Barthy

License

Apache 2.0

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言