Custom font for StepperLayout tab title
See original GitHub issueIs there any way to set custom TypeFace
for StepperLayout
’s tab title?
I have tried this way:
mStepperlayout.setAdapter(new CustomStepperAdapter(getChildFragmentManager()));
TextView mStepTitle = (TextView) mStepperLayout.findViewById(R.id.ms_stepTitle);
Typeface mFont = Typeface.createFromAsset(getActivity().getAssets(), "CustomFont.ttf");
mStepTitle.setTypeface(mFont);
This works for navigation bar buttons but does not work tab titles, any idea?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Custom Typeface in ActionBar's Tab Title - Stack Overflow
I'm trying to set a custom Typeface on my ActionBar tabs' titles. I have seen more developers asking for a proper way to...
Read more >How to Use Google Fonts and Custom Fonts in Jotform
Open the Form Designer panel in Form Builder. · Go to the Styles tab. · Paste your Google Fonts import code in the...
Read more >How Do I Add a Custom Font to My Website Title on ...
To do this, go to the Design tab of your site, click on Fonts, and then click the Upload Fonts button. From here,...
Read more >Applying custom fonts to text | Apple Developer Documentation
You can find the postscript name of a font by opening it with the Font Book app and selecting the Font Info tab....
Read more >How to Change Fonts in material Tab Layout's tabs -
Follow these 3 steps to customize your fonts in tabs ... Note: There is no need to write the exact style name, you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @adiga-maf ,
Done in #49 and released in 2.2.0. Please see the ‘Custom StepperLayout theme’ sample for an example of how to do that.