Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.5 KB

File metadata and controls

57 lines (39 loc) · 1.5 KB

Highlight

Highlight is an Android library that highlights UI elements. It can be integrated into other Android apps to showcase an app's usage. The following screenshots demonstrate the concept:

Integration

Copy the 'highlight' folder to your project. Make it known to Gradle by adding the module to settings.gradle:

include ':app', ':highlight'

Then add a dependency in app/build.gradle so that Highlight will be compiled as part of your application:

dependencies {
    // Other dependencies...
    implementation project(':highlight')
}

API

Here is an example on how to define a Highlight for an UI element:

HighlightManager highlightManager = new HighlightManager(this);
highlightManager.addView(R.id.some_widget).setTitle(R.string.title)
                .setDescriptionId(R.string.description);

Refer to the demo app to see a complete example.

Status

This is an early version. It works fine for basic usage but needs more ways to customize the look-and-feel of the hightlight. Feel free to send a Pull Request!

Licensing

This library is distributed under the Apache 2.0 License.