I am making an app to show a list of products with image and description. However, the description will needed to support style like CSS. As text object doesn’t support inline style, I finally make all the description showing in webview.
However, I got another problem after changing them all into webview. My product list is showing in a scrollview, so, I don’t want the description to scroll within the webview. So, I tried to use the webview event to put the height of each html into the url in the onload javascript event and resize and reposition everything after that.
Now, I have another problem…I have a header bar located at the top of the screen or scrollview…when the product list scroll, all the description will show on top of the header bar…how can I put the description on the back of the header bar when I scroll the page?