TargetView Library With Sketchware
Hello guys hope you are doing well
In this article I'm going to show you how to implement TargetView
Add TargetView Library
Link π : Library link
Add appcompat library
Code used :
TapTargetView.showFor(this,
TapTarget.forView(findViewById(R.id.target), "This is a target", "We have the best targets, believe me")
.outerCircleAlpha(0.96f)
.drawShadow(true)
.cancelable(false)
.tintTarget(true)
.titleTextSize(20)
.descriptionTextSize(10)
.transparentTarget(false)
.targetRadius(60)
,
new TapTargetView.Listener() {
@Override public void onTargetClick(TapTargetView view) { super.onTargetClick(view);
//Your code here
}
});
Run your project π
Comments
Post a Comment