.build(); myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.show(); showcased_undo = true; .build(); myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.show(); showcased_newline = true;
.build(); myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.show(); showcased_undo = true; .build(); myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.show(); showcased_newline = true;
@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(); } }
@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(); } }
@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(); } }
@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(); } }
myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.setShouldCentreText(false); myShowcase.setOnShowcaseEventListener(new OnShowcaseEventListener() {
myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.setShouldCentreText(false); myShowcase.setOnShowcaseEventListener(new OnShowcaseEventListener() {
@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(); } }
@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(); } }
.build(); myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.show();
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()); } }
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()); } }
@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);
.build(); myShowcase.setBackgroundColor(Color.TRANSPARENT); myShowcase.show();
@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);