Set Selected System Font to TextView <p>I'm doing one demo. In that I'm loading the system fonts into the <code>Spinner</code> and I want to set the selected font to <code>TextView</code>. I done with font loading but I'm not able to set it to <code>TextView</code>. I'm confused with the <code>TypeFace</code> ... Following is my code..</p> <pre><code> package com.example.accessingsystemfonts; import java.io.File; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.graphics.Typeface; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.Spinner; import android.widget.TextView; public class MainActivity extends Activity { TextView tv; Button b1; Spinner sp1; List&lt;String&gt; fontNames ; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); tv=(TextView)findViewById(R.id.tv); b1=(Button)findViewById(R.id.buttonset); sp1=(Spinner)findViewById(R.id.spinnersystemfonts); readAllFonts(); b1.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { tv.setTypeface(?); **How to set selected font??** } }); } private List&lt;String&gt; readAllFonts() { fontNames = new ArrayList&lt;String&gt;(); File temp = new File("/system/fonts/"); String fontSuffix = ".ttf"; for(File font : temp.listFiles()){ String fontName = font.getName(); if(fontName.endsWith(fontSuffix)) { fontNames.add(fontName.subSequence(0,fontName.lastIndexOf(fontSuffix)).toString()); } } sp1.setAdapter(new ArrayAdapter&lt;String&gt;(getBaseContext(),android.R.layout.simple_spinner_dropdown_item,fontNames)); return fontNames; } } </code></pre>