Justify text in an Android app using a WebView but presenting a TextView-like interface?

Viewed 39030

I'm looking for a simple way to forget that I'm using a WebView to have justified text in my TextView. Has someone made a custom view for this? I'm well aware that I can do something like this:

 WebView view = new WebView(this);    
         view.loadData("my html with text justification","text/html","utf-8");

But it gets ugly when you want to set the size, the color or other common properties of the TextView. There must be a more convenient way of doing it.

6 Answers
Related