Hi all,
GOAL:
Determine the corona y coordinate of the bottom of the admob banner ad that is OVERLAYED over the corona draw surface in my windows phone 8 silverlight app.
Problem:
How do I translate between the silverlight app pixel height and the corona pixel height? I know my banner height is 80 pixels in silverlight, and it is positioned at the top of my silverlight app. The banner ad is overlayed OVER the corona draw surface. But 80 pixels high in silverlight will be different in my corona app because of content scaling. I want to determine the corona app y coordinate of the bottom of the banner ad.
My config.lua is like this:
application = { content = { width = 640, height = 960, scale = "letterBox", xAlign = "left", yAlign = "top", } }
Any ideas on how I can calculate this?
Thanks!