Reputation:
I have a contextual action bar which is showing some text. I have changed the font of each and every text in my App expect this cab. I looked for it, but I am unable to find any. Is there any way to change the font of CAB to an external typeface font.?
Here is what I have:
Here is the font I want:
The font is external one, called VTKS-BAGACO.ttf
Upvotes: 0
Views: 90
Reputation:
you need to create external typeface for VTKS-BAGACO. and put it in assets folder. Now use that typeface as below in your activity:
Typeface tf = Typeface.createFromAsset(this.getAssets(), "VTKS-BAGACO.otf");
textview.setTypeface(tf);
Upvotes: 1