Index: /trunk/15.FontTest/default.properties =================================================================== --- /trunk/15.FontTest/default.properties (revision 38) +++ /trunk/15.FontTest/default.properties (revision 38) @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "build.properties", and override values to adapt the script to your +# project structure. + +# Indicates whether an apk should be generated for each density. +split.density=false +# Project target. +target=android-7 Index: /trunk/15.FontTest/.classpath =================================================================== --- /trunk/15.FontTest/.classpath (revision 38) +++ /trunk/15.FontTest/.classpath (revision 38) @@ -0,0 +1,7 @@ + + + + + + + Index: /trunk/15.FontTest/.project =================================================================== --- /trunk/15.FontTest/.project (revision 38) +++ /trunk/15.FontTest/.project (revision 38) @@ -0,0 +1,33 @@ + + + 15.FontTest + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + Index: /trunk/15.FontTest/AndroidManifest.xml =================================================================== --- /trunk/15.FontTest/AndroidManifest.xml (revision 38) +++ /trunk/15.FontTest/AndroidManifest.xml (revision 38) @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + Index: /trunk/15.FontTest/src/soo/ui/font/FontTest.java =================================================================== --- /trunk/15.FontTest/src/soo/ui/font/FontTest.java (revision 38) +++ /trunk/15.FontTest/src/soo/ui/font/FontTest.java (revision 38) @@ -0,0 +1,19 @@ +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); + } +} Index: /trunk/15.FontTest/res/values/strings.xml =================================================================== --- /trunk/15.FontTest/res/values/strings.xml (revision 38) +++ /trunk/15.FontTest/res/values/strings.xml (revision 38) @@ -0,0 +1,5 @@ + + + Hello World, FontTest! + FontTest + Index: /trunk/15.FontTest/res/layout/main.xml =================================================================== --- /trunk/15.FontTest/res/layout/main.xml (revision 38) +++ /trunk/15.FontTest/res/layout/main.xml (revision 38) @@ -0,0 +1,51 @@ + + + + + + + + + + + + +