kolby wrote:
> Mark,
> 
> unfortunately, no dice on this either. Still doesn't accept the color
> setting in hex.

public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView(R.layout.main);
        browser=(WebView)findViewById(R.id.webkit);
                
        browser.getSettings().setJavaScriptEnabled(true);
        browser.loadUrl("file:///android_asset/geoweb1.html");
}

With the file in question containing:

<font color="#00FF00">You are at</font>

Works absolutely fine for me on 1.0r2 and the G1. The text indicated
shows up in green, as expected.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

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