package soo.ui.font; import android.app.Activity; import android.graphics.Typeface; import android.os.Bundle; import android.widget.EditText; public class FontTest extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); EditText et = (EditText)findViewById(R.id.editText05); Typeface tf = Typeface.createFromAsset(getAssets(), "fonts/HandmadeTypewriter.ttf"); et.setTypeface(tf); } }