Hey all,
I'm writing an app that builds HTML and then loads it into a WebView. In Android pre-KitKat, text reflow is automatic (and existent), but I'm trying to come up with a solution that also works in KitKat. I'm using the "viewport" metatag in the rendered HTML, but it doesn't seem to work. Does a WebView ignore this tag? Is there another reliable way to get text reflow to work by formatting the HTML document in a certain way?
e.g.:
Any help is appreciated Thanks!
I'm writing an app that builds HTML and then loads it into a WebView. In Android pre-KitKat, text reflow is automatic (and existent), but I'm trying to come up with a solution that also works in KitKat. I'm using the "viewport" metatag in the rendered HTML, but it doesn't seem to work. Does a WebView ignore this tag? Is there another reliable way to get text reflow to work by formatting the HTML document in a certain way?
e.g.:
B4X:
Dim HTMLHeader as String
HTMLHeader = "<html><head><meta name=""viewport"" content=""initial-scale=1, width=device-width""></head>"
Any help is appreciated Thanks!