I am developing a predictive text input system for Sinhala language.
So I started with sample SoftKeyboard and still I could see only white
boxes. I tried to change the some codes inside the CandidateView.java
in the SoftKeyboard sample as follows. I am new to the android.

I want to know how to get font in the assets
----------------------------------------------------------------------------------------------------------------------------
AssetManager assetManager=getAssets(); // initializes=d as this, but
gives an error

Typeface aassets= Typeface.createFromAsset(assetManager, "fonts/
isk.ttf");
//Typeface tf = Typeface.create(aassets, Typeface.DEFAULT_BOLD);
mPaint.setTypeface(aassets);
----------------------------------------------------------------------------------------------------------------------------

Thank you

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to