/** * Private method used to set a default style to the {@value #TAG} */ private void setStyle(Style style) { this.setAnimations(style.animations); this.setTypefaceStyle(style.typefaceStyle); this.setTextColor(style.textColor); this.setBackground(style.background); if (this.mType == Type.BUTTON) { this.setDividerColor(style.dividerColor); this.setButtonTextColor(style.buttonTextColor); } }
superActivityToast.setIndeterminate(referenceHolder.mIsIndeterminate); superActivityToast.setIcon(referenceHolder.mIcon, referenceHolder.mIconPosition); superActivityToast.setBackground(referenceHolder.mBackground); superActivityToast.setTouchToDismiss(referenceHolder.mIsTouchDismissible);