Hello,
I m using webview to display my text. I want to give font change option to
user. I read that, We can use CSS2 spec fonts in webview. I have used the
following code. Still I dont get any difference except courier new..

wv.loadDataWithBaseURL("some fake url", "<html><body
background=\"file:///android_asset/bg.jpg\"><font face=\""+fontName+"\"
size=\"3\" color=\"#4F0F1A\">"+data, "text/html", "utf-8",null);

here fontName is accessed programatically...
Plz help...

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to