webview fills screen

Good morning.

I have an image (alpha = .5) on the screen. Over that is a webview with a transparent background. Looks very good. There’s a button on the top. User taps button and webview disappears (by setting x = x - 2000) and image alpha gets set to 1. This all works fine.

Now. I have another button at the bottom of the screen. It should be below the bottom edge of the webview. When tapped/clicked, however, it does not respond unless the webview is off the screen. 

When the webview contents are long (scroll bar appears), the webview fills the screen. The button at the bottom is still visible, but the text in the webview (and the scroll bar) go all the way to the bottom of the screen. The height value does not change.

Is this normal behavior? Is is possible to make a webview of a specific height so there can be widgets visible on the top and bottom of the screen regardless of the content in the webview?

-Bob Gordon (new at Corona, but making progress)

Solved:

The problem was that because thing were positioned from the center, I did not realize how low the webview was. I repositioned things (anchorX and anchorY) from the top, and everything is working now.

Helps to take a break and come back a bit later.

Still getting my head wrapped around all this.

Solved:

The problem was that because thing were positioned from the center, I did not realize how low the webview was. I repositioned things (anchorX and anchorY) from the top, and everything is working now.

Helps to take a break and come back a bit later.

Still getting my head wrapped around all this.