Hi!
I'm currently displaying a HighlightJsView inside a tabbed pane, and facing an issue of undesired interaction while side-scrolling long text: Swiping just go to the next tab. In spite of this, I would like to control how long text is displayed, being it word-wrapped or not.
Reading the WebView documentation, I found that I can control this behavior setting the LayoutAlgorithm flag to TEXT_AUTOSIZING, but applying that setting just change nothing in the final result. Intercepting the resulting HTML and then manually adding the word-wrap and white-space styles to the <pre> tag, I got what I want. My question is, can this be controlled with a setting or configuration flag of HighlightJsView?
Thanx!
Hi!
I'm currently displaying a HighlightJsView inside a tabbed pane, and facing an issue of undesired interaction while side-scrolling long text: Swiping just go to the next tab. In spite of this, I would like to control how long text is displayed, being it word-wrapped or not.
Reading the WebView documentation, I found that I can control this behavior setting the LayoutAlgorithm flag to TEXT_AUTOSIZING, but applying that setting just change nothing in the final result. Intercepting the resulting HTML and then manually adding the
word-wrapandwhite-spacestyles to the<pre>tag, I got what I want. My question is, can this be controlled with a setting or configuration flag of HighlightJsView?Thanx!