Shawn Franks wrote:Your best and easiest way would to be as you though and create a webview to display the text and use the built in zoom, on top of this you also benefit from being able to add a find on page option, and a copy and paste feature that you cant do easily in a plain text view
Yes I had to do the same instead of other alternative of using 2D canvas for this very purpose. I faced issues when i tried to use style with the text in embedded HTML by calling loadData(), which on search I discovered some problems with using loadData() . So using loadDataWithBaseURL() with fake URL solved it. Also webview is strict in checking tags as I had to spend time for a forgotten closed tag which did not allow to use my style element.
I want to now distinguish single and multitouch events on this text element in webview, but using OnTouchListener removes my zoom controls. Does onTouchListener and Zoom Controls cannot coexist ? Any one have faced this issue ?