Text should wrap if checkbox is selected
- by Dainel
i am working with android webview and inside webview i am displaying
the webpage which is having css,Javascript so i want that whenever i
will select the checkbox and try to zoom the page so it should wrap
otherwise it should not. So for that i tried to set the property of
css -
w.loadUrl("javascript:(function() {" +
"document.getElementByTagName('html')[0].style.whiteSpace='nowrap';})");
but i am changing these properties by programming so it is not
affecting the text content so please tell me how can i make the
webpage text as wrapped if the checkbox is selected and it should not
wrap if the checkbox is not selected,so please provide me any
suggestion?? Thanks in advance