Tabnine Logo
ShowcaseView.show
Code IndexAdd Tabnine to your IDE (free)

How to use
show
method
in
com.github.amlcurran.showcaseview.ShowcaseView

Best Java code snippets using com.github.amlcurran.showcaseview.ShowcaseView.show (Showing top 16 results out of 315)

origin: NightscoutFoundation/xDrip

  myShowcase.show();
  showcased_undo = true;
} else {
    myShowcase.show();
    showcased_newline = true;
  } else {
origin: jamorham/xDrip-plus

  myShowcase.show();
  showcased_undo = true;
} else {
    myShowcase.show();
    showcased_newline = true;
  } else {
origin: NightscoutFoundation/xDrip

  @Override
  public void run() {
    final ShowcaseView myShowcase = new ShowcaseView.Builder(activity)
        .setTarget(target)
        .setStyle(R.style.CustomShowcaseTheme2)
        .setContentTitle(title)
        .setContentText("\n" + message)
        .setShowcaseDrawer(new JamorhamShowcaseDrawer(activity.getResources(), activity.getTheme(), size1, size2, 255))
        .singleShot(oneshot ? option : -1)
        .build();
    myShowcase.setBackgroundColor(Color.TRANSPARENT);
    myShowcase.setShouldCentreText(false);
    myShowcase.setBlocksTouches(true);
    myShowcase.show();
  }
}
origin: jamorham/xDrip-plus

  @Override
  public void run() {
    final ShowcaseView myShowcase = new ShowcaseView.Builder(activity)
        .setTarget(target)
        .setStyle(R.style.CustomShowcaseTheme2)
        .setContentTitle(title)
        .setContentText("\n" + message)
        .setShowcaseDrawer(new JamorhamShowcaseDrawer(activity.getResources(), activity.getTheme(), size1, size2, 255))
        .singleShot(oneshot ? option : -1)
        .build();
    myShowcase.setBackgroundColor(Color.TRANSPARENT);
    myShowcase.setShouldCentreText(false);
    myShowcase.setBlocksTouches(true);
    myShowcase.show();
  }
}
origin: NightscoutFoundation/xDrip

  @Override
  public void run() {
    final ShowcaseView myShowcase = new ShowcaseView.Builder(activity)
        .setTarget(target)
        .setStyle(R.style.CustomShowcaseTheme2)
        .setContentTitle(title)
        .setContentText("\n" + message)
        .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), size1, size2, 255))
        .singleShot(oneshot ? option : -1)
        .build();
    myShowcase.setBackgroundColor(Color.TRANSPARENT);
    myShowcase.show();
  }
}
origin: jamorham/xDrip-plus

  @Override
  public void run() {
    final ShowcaseView myShowcase = new ShowcaseView.Builder(activity)
        .setTarget(target)
        .setStyle(R.style.CustomShowcaseTheme2)
        .setContentTitle(title)
        .setContentText("\n" + message)
        .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), size1, size2))
        .singleShot(oneshot ? option : -1)
        .build();
    myShowcase.setBackgroundColor(Color.TRANSPARENT);
    myShowcase.show();
  }
}
origin: NightscoutFoundation/xDrip

params.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
myShowcase.setButtonPosition(params);
myShowcase.show();
origin: jamorham/xDrip-plus

params.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
myShowcase.setButtonPosition(params);
myShowcase.show();
origin: jamorham/xDrip-plus

  @Override
  public void run() {
    final ShowcaseView myShowcase = new ShowcaseView.Builder(activity)
        .setTarget(target)
        .setStyle(R.style.CustomShowcaseTheme2)
        .setContentTitle(title)
        .setContentText("\n" + message)
        .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), size1, size2, 255))
        .singleShot(oneshot ? option : -1)
        .build();
    myShowcase.setBackgroundColor(Color.TRANSPARENT);
    myShowcase.show();
  }
}
origin: NightscoutFoundation/xDrip

  @Override
  public void run() {
    final ShowcaseView myShowcase = new ShowcaseView.Builder(activity)
        .setTarget(target)
        .setStyle(R.style.CustomShowcaseTheme2)
        .setContentTitle(title)
        .setContentText("\n" + message)
        .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), size1, size2))
        .singleShot(oneshot ? option : -1)
        .build();
    myShowcase.setBackgroundColor(Color.TRANSPARENT);
    myShowcase.show();
  }
}
origin: NightscoutFoundation/xDrip

myShowcase.show();
origin: NightscoutFoundation/xDrip

private synchronized void showcasemenu(int option) {
  if ((myShowcase != null) && (myShowcase.isShowing())) return;
  if (ShotStateStore.hasShot(option)) return;
  try {
    ProfileViewTarget target = null;
    String title = "";
    String message = "";
    switch (option) {
      case SHOWCASE_PROFILE_SPLIT:
        target = new ProfileViewTarget(R.id.profile_recycler_view, this, 40, 40);
        title = getString(R.string.long_press_to_split_or_delete);
        message = getString(R.string.press_and_hold_on_the_background_to_split_or_delete);
        break;
    }
    if (target != null) {
      myShowcase = new ShowcaseView.Builder(this)
          .setTarget(target)
          .setStyle(R.style.CustomShowcaseTheme2)
          .setContentTitle(title)
          .setContentText("\n" + message)
          .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), 90, 14))
          .singleShot(oneshot ? option : -1)
          .build();
      myShowcase.setBackgroundColor(Color.TRANSPARENT);
      myShowcase.show();
    }
  } catch (Exception e) {
    Log.e(TAG, "Exception in showcase: " + e.toString());
  }
}
origin: jamorham/xDrip-plus

private synchronized void showcasemenu(int option) {
  if ((myShowcase != null) && (myShowcase.isShowing())) return;
  if (ShotStateStore.hasShot(option)) return;
  try {
    ProfileViewTarget target = null;
    String title = "";
    String message = "";
    switch (option) {
      case SHOWCASE_PROFILE_SPLIT:
        target = new ProfileViewTarget(R.id.profile_recycler_view, this, 40, 40);
        title = getString(R.string.long_press_to_split_or_delete);
        message = getString(R.string.press_and_hold_on_the_background_to_split_or_delete);
        break;
    }
    if (target != null) {
      myShowcase = new ShowcaseView.Builder(this)
          .setTarget(target)
          .setStyle(R.style.CustomShowcaseTheme2)
          .setContentTitle(title)
          .setContentText("\n" + message)
          .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), 90, 14))
          .singleShot(oneshot ? option : -1)
          .build();
      myShowcase.setBackgroundColor(Color.TRANSPARENT);
      myShowcase.show();
    }
  } catch (Exception e) {
    Log.e(TAG, "Exception in showcase: " + e.toString());
  }
}
origin: NightscoutFoundation/xDrip

  @Override
  public void run() {
    if ((finaltarget != null) || (finalviewtarget != null)) {
      myShowcase = new ShowcaseView.Builder(finalactivity)
          .setTarget((finaltarget != null) ? finaltarget : finalviewtarget)
          .setStyle(R.style.CustomShowcaseTheme2)
          .setContentTitle(finaltitle)
          .setContentText("\n" + finalmessage)
          .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), 90, 14))
          .singleShot(oneshot ? option : -1)
          .build();
      myShowcase.setBackgroundColor(Color.TRANSPARENT);
      myShowcase.show();
    }
  }
}, 100);
origin: jamorham/xDrip-plus

myShowcase.show();
origin: jamorham/xDrip-plus

  @Override
  public void run() {
    if ((finaltarget != null) || (finalviewtarget != null)) {
      myShowcase = new ShowcaseView.Builder(finalactivity)
          .setTarget((finaltarget != null) ? finaltarget : finalviewtarget)
          .setStyle(R.style.CustomShowcaseTheme2)
          .setContentTitle(finaltitle)
          .setContentText("\n" + finalmessage)
          .setShowcaseDrawer(new JamorhamShowcaseDrawer(getResources(), getTheme(), 90, 14))
          .singleShot(oneshot ? option : -1)
          .build();
      myShowcase.setBackgroundColor(Color.TRANSPARENT);
      myShowcase.show();
    }
  }
}, 100);
com.github.amlcurran.showcaseviewShowcaseViewshow

Popular methods of ShowcaseView

  • isShowing
  • setButtonPosition
  • hide
  • setBackgroundColor
  • setBlocksTouches
  • setOnShowcaseEventListener
  • setShouldCentreText
  • setTag
  • hideButton
  • postDelayed
  • setButtonText
  • setContentText
  • setButtonText,
  • setContentText,
  • setContentTitle,
  • setOnClickListener,
  • setShowcase,
  • setTarget,
  • setVisibility

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now