Skip to content

Android library to showcase/highlight the multiple views on same overlay

License

Notifications You must be signed in to change notification settings

ujwal-coditas/MultiLamp

Repository files navigation

MultiLamp

MultiLamp is simple and easy to use Android library to showcase/highlight the multiple views on the same overlay with some message.

Gradle

Step 1 : Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2 : Add the dependency

dependencies {
        implementation 'com.github.ujwalthote:MultiLamp:2.0'
}

Usage

MultiLamp multiLamp = new MultiLamp(activity);
ArrayList<Target> targets = new ArrayList<>();
targets.add(new Target(btn1, "This is button 1", MultiLamp.RIGHT, new Circle(40)));
targets.add(new Target(btn2, "This is button 2", MultiLamp.LEFT, new Circle(40)));
targets.add(new Target(textView, "This is textview", MultiLamp.TOP, new Rectangle()));
multiLamp.build(targets);

For demo example, clone this repo and checkout the app module