NightWhistler / HtmlSpanner

Android HTML rendering library with CSS support
http://nightwhistler.github.io/HtmlSpanner/
877 stars 209 forks source link

Need some modifications #9

Closed alchemistgo87 closed 11 years ago

alchemistgo87 commented 11 years ago

If I want to modify the look and color of heading and also I want to load image from asset instead of from url. Can do so in your code. Is this modification allowed as per the licence?

If not how to add these modifications?

NightWhistler commented 11 years ago

HtmlSpanner is Apache licensed, so you're allowed to fork it and make changes to your fork.

The image loading in HtmlSpanner is very basic, I use a different implementation in PageTurner... you could change the base classes, but it's probably easier to just implement your own TagNodeHandler classes for the functionality you want and to register them with your HtmlSpanner instance.