stefanhaustein / HtmlView2

Simple HTML to Native Components Rendering Engine for Android
Apache License 2.0
23 stars 4 forks source link

Help/Wiki + release on Android Arsenal #2

Open kevinvanmierlo opened 7 years ago

kevinvanmierlo commented 7 years ago

This is the lightweight webview I've been looking for a long time. I have had a few apps where I load local html (nothing fancy, only bold, italic, ul, ol). But there wasn't a library that could do it all except WebView which is unbelievably slow. So first, thank you!

I've just been using the library, but there is not much explanation. For example I'm trying to set the base text size. But no clue how to do this. Also I find the indentation for ol and ul lists too big. Is there a way to make that smaller?

Like I said, I've been looking for this a long time. So maybe put it on Android Arsenal or other websites where people can find it and be as excited as me.

stefanhaustein commented 7 years ago

Thanks! Ideally I'd mimic the WebView API as far as possible to keep switching simple and avoid excessive documentation -- don't hesitate to file specific bugs. Will consider AndroidArsenal when I have addressed your other issue. What is your relation to AndroidArsenal?

kevinvanmierlo commented 7 years ago

@stefanhaustein I will file bug reports as other issues. I'm not related to AndroidArsenal, it's just the website where I go to look for specific libraries. So if this library is ready for release, I would put it on multiple library sites. AndroidArsenal was just the first that popped into my mind.

stefanhaustein commented 7 years ago

Wouldn't it make more sense to publish to jcenter first for gradle / maven integration using gradle? I guess part of the infrastructure could then be re-used for AndroidArsenal?

kevinvanmierlo commented 7 years ago

@stefanhaustein Yeah that definitely makes more sense. Android Arsenal is not a website to push your library to. It's just a collection of libraries with a link to the webpage where you can get the library (like github.com). So it's just a website to discover new libraries.

stefanhaustein commented 7 years ago

Ok, that makes publishing to AndroidArsenal easier -- as it doesn't seem to require any additional changes then... :)

kevinvanmierlo commented 7 years ago

@stefanhaustein Haha yeah! That's why I made this issue. I always look for libraries there

stefanhaustein commented 7 years ago

Ok, I have created a release that should be directly accessible in gradle via jitpack. Would you mind double-checking the instructions at the end of the the main readme.md befor I advertise this on Android Arsenal?

kevinvanmierlo commented 7 years ago

@stefanhaustein Sorry for the late response, I'm a bit busy at the moment. From what I can see it is fine. Perhaps in the future some advanced options in the wiki, but for now with the demo it is fine.