I want to change the below string font using typeface in android and i am displaying these fonts in listview.
private String [] strArray ={"hello","welcome","aneesh","raja","kruhtika","ramu"};
using
Typeface type = Typeface.createFromAsset(getAssets(),"Kokila.ttf");
I am not using any textview for this but i want to change the font of the string as per my .ttf file which will ne stored in assets.
Please help me.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…