Hey guys, Im trying to position an inmobi ad in the center of the screen across multiple devices and I’m struggling with it.
I was using:
local adType = “banner320x48”
local adWidth = 320
local adHeight = 48
adWidth = adWidth * display.contentScaleX
adHeight = adHeight * display.contentScaleY
ads.show( adType, { x=screenW*0.5 - adWidth*0.5, y=screenH-adHeight, interval=5, testMode=true } )
And I thought it was ok since I tested in iPad 2, Galaxy Ace Plus and Galaxy Tab, but once I tested in my Samsung SII this positioning method failed.
I guess it’s worth mentioning I’m using “The ultimate config.lua” by Rob (http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/)
Thanks!