You cannot load an HTML file in an arbitrary view. Use WebView to
display HTML, or use Html.fromHtml() to create a SpannedString you can
use with TextView (suitable for very basic HTML).

On Tue, Nov 2, 2010 at 9:02 AM, Amit Mangal <forum.amit.man...@gmail.com> wrote:
> Hi Every one
> I have one html file and i want to load that html file in view for loading
> png images i was doing
> android:background="@drawable/tips" this in xml file but how to load html
> file in view ?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 2.2 Programming Books: http://commonsware.com/books

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