Apk android generated don't follow preview layout

Hello everyone!

I’m using AppGyver App to preview my app and I’m using a webview with a formula (I tryed systemVars.dimensions.viewport.width/height and systemVars.dimensions.screen.width/height). At preview app, all is pretty good, but when I generate an APK, the result don’t follow the preview, contain black gaps that I can’t fix. I tested in another smartphone android and the result is the same. How I fix this?

I solved this setting “Page Layout” padding to zero.