I am using library which do not have custom font change's option. How I can save value in string and change its font and then use this string. I do a lot of search but can not find any way without TextView
, because I do not need any TextView
.
TextView reg = findViewById(R.id.register);
FloatingActionMenu fab = findViewById(R.id.floatingActionMenu);
ShowcaseConfig config = new ShowcaseConfig();
config.setDelay(500);
MaterialShowcaseSequence sequence = new MaterialShowcaseSequence(this, "221");
sequence.addSequenceItem(
new MaterialShowcaseView.Builder(this)
.setTarget(reg)
.setContentText("I want to use custom font on this string")
.setDismissOnTouch(true)
.setShape(new RectangleShape(100,50))
.build()
);
sequence.addSequenceItem(
new MaterialShowcaseView.Builder(this)
.setTarget(fab)
.setDismissOnTouch(true)
.setContentText("I want to use custom font on this string")
.build()
);
sequence.start();