Hello, I'm new to App Inventor, so this is may be my fault, but I'm stuck: I want the user to confirm reading the TOS/guide before using the app. I want to display the text via a WebView that I put in a VerticalScrollArrangement. Below the WebView is a CheckBox and some buttons. The idea is that the user has to scroll all the text down before they can confirm the CheckBox and continue.
The problem is that the WebView is usually rendered with a height of 0px. I would like the WebView to be rendered with a height according to its content and the vertical scrolling of the screen is provided by the VerticalScrollArrangement.
Do you have to use html files, and therefore a webviewer?
You can use a label instead, which fills as you want, to the length of the text. Set the label to use HTMLContent to keep your formatting (note: not all html tags are available to the label).
Only issue I found was that the VSA does not return to the top of the page when loading new text to the label, so I have included a scroll handler extension (this won't work if you are using ios). You may/may not need this in your workflow.
it's not quite a perfect solution, because I really like the option to mark a part of the text and copy it to the clipboard, but it's definitely an option that I didn't think of and it works great. Thanks for the help.