I'm trying to change typeface in an Android app. Everything works well except the MenuItems in OptionsMenu. Thanks to this link (How to set custom typeface to items in NavigationView?) I've modified my options menu fonts, but this solution only works for MenuItems which are "hidden" under the 3 dots
Image of the problem:
To clarify I'm using this bit
private void applyFontToMenuItem(MenuItem mi) {
SpannableString mNewTitle = new SpannableString(mi.getTitle());
mNewTitle.setSpan(new CustomTypefaceSpan("" , Font.LightExtended), 0 , mNewTitle.length(), Spannable.SPAN_INCLUSIVE_INCLUSIVE);
mi.setTitle(mNewTitle);
}