04-23-2012 06:52 AM
I have a banner in my app. I set a property MMA_SIZE_AUTO for the ad resize according the resolution of Screen. But I have used in 7 differents blackberry´s with differents resolutions and the size of the ad is the same....
I have tried with MMA_SIZE_EXTRA_EXTRA_LARGE, MMA_SIZE_EXTRA_LARGE, etc too, and is the same problem.
My code is:
Banner bannerAd = new Banner(Constantes.IDPUBLICIDAD, null, 100000, Constantes.imagenDeEsperaPublicidad);
bannerAd.setBorderColor(Color.WHITE);
bannerAd.setBannerTransitionColor(Color.WHITE);
bannerAd.setMMASize(Banner.MMA_SIZE_AUTO);
bannerAd.setTestModeFlag(false);
HorizontalFieldManager hfm = new HorizontalFieldManager(HorizontalFieldManager.FIEL
hfm.add(bannerAd);
add(hfm);
Why not change the size of the ad?
Thank you
02-23-2013 11:27 AM
yes good idea, so how do you change the size of an Ad..?
02-25-2013 04:58 AM
I don´t know yet...
03-05-2013 03:50 AM
I think scalling that component might help ?