You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a work around to solve this issue.
While the config's set colors does not work, I did it via the builder. For example:
MaterialShowcaseSequence sequence = new MaterialShowcaseSequence(this);
MaterialShowcaseView.Builder sequenceBuilder;
final int COLOR_MASK = getResources().getColor(R.color.colorPrimaryDarkA90);
final int COLOR_DISMISS = getResources().getColor(R.color.colorAccent);
sequenceBuilder = new MaterialShowcaseView.Builder(this)
.setTarget(findViewById(R.id.add_photos_iv))
// Set the color of the mask
.setMaskColour(COLOR_MASK)
// Set color of the dismiss clickable text view
.setDismissTextColor(COLOR_DISMISS)
// Set the message
.setContentText(R.string.tutorial_image)
// Set the dismiss button text
.setDismissText(R.string.tutorial_dismiss);
// Add the configured builder to the sequence
sequence.addSequenceItem(sequenceBuilder.build());
Create more sequenceBuilder if needed and add each of them to the sequence.addSequenceItem
then, do not forget to start the sequence:
Here is the code I used. I try assigning different colors to the dismiss text and the content text but the colors are always white.
The text was updated successfully, but these errors were encountered: