We would like to embed an AdView inside of a ViewGroup which adds a padding of 8dp on the left and right side. Thus, on a smartphone with a width of 480px and a density factor of 1.5 (e.g. Galaxy S2) the AdView has a width of 456px (480px - 2 * 8 * 1.5). When requesting a banner with an AdSize of 320x50 (which is the must use adSize), we get a log message, that there is not enough space to show the ad. The SDK needs a width of 480px for the ad (320 * 1.5) but there are only 456px available.
Is there any possibility to resize (shrink) the ad to fit the available space, or _must_ an AdView always fit to the hole display width on such devices? It would be ok to shrink the adView as long as it keeps the aspect ratio and still uses the 320x50 adSize
The SDK calls the method onReceiveAd(), also if there is not enough space available. Is there any other callback/way to get the feedback that the ad could not be shown?
Best,