1

how change font for text in listview with custom font in android?

view story
linux-howto

http://stackoverflow.com – I am developing some app. which contains listview and i want to display the text with custom font .. i am using this code in BaseAdapter class but when i use it the text is disappeared TextView text = (TextView) vi.findViewById(R.id.text); // title tf = Typeface.createFromAsset(activity.getAssets(), "fonts/Vijaya.ttf"); text.setTypeface(tf); text.setText(quote.get(QuotesActivity.KEY_TEXT)); this is my full code: class: package com.engahmedphp.successquotes; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import android.app. (HowTos)