Exemplo n.º 1
0
 /**
  * Make this ShowcaseView hide when the user touches outside the showcased area. This enables
  * {@link #doNotBlockTouches()} as well.
  *
  * <p>By default, the ShowcaseView doesn't hide on touch.
  */
 public Builder hideOnTouchOutside() {
   showcaseView.setBlocksTouches(true);
   showcaseView.setHideOnTouchOutside(true);
   return this;
 }
Exemplo n.º 2
0
 /**
  * Don't make the ShowcaseView block touches on itself. This doesn't block touches in the
  * showcased area.
  *
  * <p>By default, the ShowcaseView does block touches
  */
 public Builder doNotBlockTouches() {
   showcaseView.setBlocksTouches(false);
   return this;
 }