Hello,
I am setting the font of a TextView to font from a ttf file like this:
Typeface myTypeface = Typeface.createFromAsset(getAssets
(), "fonts/samplefont.ttf");
TextView myTextView1 = (TextView) findViewById
(R.id.welcometitle);
myTextView1.setTypeface(myTypeface);
The font is stored in my assets directory.
How can I set the font of a WebView to this font?
Can I use webSettings.setStandardFontFamily?
Any help is appreciated.
Regards,
Ph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---