How To Display Admob Smartbanner Exactly On The Bottom Of The Screen While Using Andengine Cropresolutionpolicy
So heres the deal. I am making a game in andEngine and I use CropResoltionpolicy (how it works: http://android.kul.is/2013/10/andengine-tutorial-dealing-with-screen-sizes.html). I
Solution 1:
Looks like answer is easy enough if you think enough:
finalDisplayMetricsdisplayMetrics=newDisplayMetrics();
this.adView.setY(displayMetrics.heightPixels - (this.adView.getHeight() * (displayMetrics.heightPixels / 480) ) - 50);
where 480 is a height of camera in andEngine and 50 is a height of your banner.
Post a Comment for "How To Display Admob Smartbanner Exactly On The Bottom Of The Screen While Using Andengine Cropresolutionpolicy"