I added several fonts to the application, for example open-sans-semibold
. I created the assets folder and then threw the fonts into .ttf. Is it possible to mesh fonts not in software but in xml. Some twist elements I do not use from the activity and honestly do not see any reason to get them programmatically via id and give them the font like this:
Typeface custom_font = Typeface.createFromAsset(getActivity().getAssets(), "fonts/OpenSans-SemiBold.ttf"); txt_name.setTypeface(custom_font);
Can this be done from xml?