Steblo
Steblo

Reputation: 625

Any disadvantages to using WebView as opposed to TextView in Android

I am making an app a bit like a dictionary, where a user clicks on a word and get a display of an image and an explanation of that word. I know that WebView allows me to use html formatting but I have read that it takes a lot of memory. Is there any disadvantage to using a WebView in this way or should I use a TextView? WebView works well on my phone, an HTC Wildfire.

Upvotes: 1

Views: 1648

Answers (1)

Pascal MARTIN
Pascal MARTIN

Reputation: 401002

TextView works fine if you only want to display text -- or only very simple formating.

If you want to display something more advanced, WebView will definitely allow you to do more, as it allows one to use Full-HTML.

Of course, this requires more power... but, still, if you are only using one WebView at a time on your screen/activity, it cannot be worse than when using the browser application -- and that one works fine, doesn't it ?

Upvotes: 1

Related Questions