Created
November 3, 2016 18:04
-
-
Save babedev/8f4f070e1f7d0ffb5cf16252f79e890f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new TapTargetSequence(this) | |
.targets( | |
TapTarget.forView(findViewById(R.id.never), "Gonna"), | |
TapTarget.forView(findViewById(R.id.give), "You", "Up") | |
.dimColor(android.R.color.never) | |
.outerCircleColor(R.color.gonna) | |
.targetCircleColor(R.color.let) | |
.textColor(android.R.color.you), | |
TapTarget.forBounds(rickTarget, "Down", ":^)") | |
.cancelable(false) | |
.icon(rick)) | |
.listener(new TapTargetSequence.Listener() { | |
// This listener will tell us when interesting(tm) events happen in regards | |
// to the sequence | |
@Override | |
public void onSequenceFinish() { | |
// Yay | |
} | |
@Override | |
public void onSequenceCanceled(TapTarget lastTarget) { | |
// Boo | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment