I do not think you can get the Webviewer with AI2 to autosize based on the size of a FT. The WebViewer is not a full featured browser. You might get a better result using the ActivityStarter to call your default browser but that might not work either.
There might be a work around based on your knowledge of the FT's dimensions, the use of knowledge about your device's H x W in pixels dimensions etc. How? You will have to experiment. An alternative might be to display the contents of your FT in a AI2 Table or convert the values to a csv file and use perhaps Taifun's Dynamic html table to display results.
Alternatively, you might use a Java based full featured compiler like Eclipse or Android Studio 2 to achieve your goals instead of using AI2 which is an entry level compiler created primarily as a teaching tool for programming concepts.