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

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

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

origin: NightscoutFoundation/xDrip

    .build();
myShowcase.setBackgroundColor(Color.TRANSPARENT);
myShowcase.show();
showcased_undo = true;
      .build();
  myShowcase.setBackgroundColor(Color.TRANSPARENT);
  myShowcase.show();
  showcased_newline = true;
origin: jamorham/xDrip-plus

    .build();
myShowcase.setBackgroundColor(Color.TRANSPARENT);
myShowcase.show();
showcased_undo = true;
      .build();
  myShowcase.setBackgroundColor(Color.TRANSPARENT);
  myShowcase.show();
  showcased_newline = true;
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

myShowcase.setBackgroundColor(Color.TRANSPARENT);
myShowcase.setShouldCentreText(false);
myShowcase.setOnShowcaseEventListener(new OnShowcaseEventListener() {
origin: jamorham/xDrip-plus

myShowcase.setBackgroundColor(Color.TRANSPARENT);
myShowcase.setShouldCentreText(false);
myShowcase.setOnShowcaseEventListener(new OnShowcaseEventListener() {
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

    .build();
myShowcase.setBackgroundColor(Color.TRANSPARENT);
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

    .build();
myShowcase.setBackgroundColor(Color.TRANSPARENT);
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.showcaseviewShowcaseViewsetBackgroundColor

Popular methods of ShowcaseView

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

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top plugins for Android Studio
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