TapTargetView.showFor(getActivity(), // `this` is an Activity
TapTarget.forView(view.findViewById(R.id.searchFabButton), "This is a target", "We have the best targets, believe me")
.targetCircleColor(R.color.white)
.drawShadow(true)
.textColor(R.color.white)
.tintTarget(false)
.outerCircleColor(R.color.black)
.dimColor(R.color.black)
.cancelable(true),
new TapTargetView.Listener() { // The listener can listen for regular clicks, long clicks or cancels
@Override
public void onTargetClick(TapTargetView view) {
super.onTargetClick(view); // This call is optional
view.dismiss(true);
Log.d("TAG","onTargetClick");
}
@Override
public void onOuterCircleClick(TapTargetView view) {
super.onOuterCircleClick(view);
Log.d("TAG","onOuterCircleClick");
view.dismiss(true);
}
@Override
public void onTargetCancel(TapTargetView view) {
super.onTargetCancel(view);
view.dismiss(true);
Log.d("TAG","onTargetCancel");
}
});
}`
**Version used: 1.13.0
Stack trace:
**Android version: 8.1.0
I'm using a target on fragment but, when target is dismissed the layout don't responde, any button can not be pressed, or any other element.
`@Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState);