Multi Banner Admob Version 6.4.1 – Previously I‘ve explained how to insert Airpush Single Banner, Mopub Single Banner, Airpush Multi Banner and MoPub Multi Banner. However, I think it was not a trick or a way that is so special to be posted. So, I added the trick is so special now that probably many who do not know, many who seek it as the title above multi banner admob sdk version 6.4.1. (Read : Multi Banner Airpush )
To make a lot of ads in the screen is not so difficult, but necessary also foresight and good attention.In order to minimize the time, below we will weaving it briefly, if you have any experience to add single banner admob on your project, it maybe so fast for you to learn it
Now how do I add multiple banner ads or bring in a single screen.
Multi Banner Admob Version 6.4.1
To add these ads, part of which had been added just in main.xml and mainactivity.java course,following more details.
- Earlier, on main.xml code just like thisThen we add a way to copy the above code and paste it below the record replace “adlay1” to “adlay2”, “adview” was changed to “adview1” and replace “alignParentTop =” true “to” below = “@ + id / adlay1 “. That is adlay 2 will be just below adlay1. So, logic like that, put adlay1 at the top and just below adlay1 adlay2. Then the code entirely in main.xml looks like the picture below. ( Read : How To Add Airpush Banner )
- Previously, MainActivity.java only have a few lines as shown below.The code below is a complement of main.xml which will bring up two ads on the screen activity onyour android. Just copy and paste the code and replace “adview” becomes “adview1” will completethe code to bring up 2 ads in your android screen activity. ( Read : Multi Banner Mopub )If you want to bring up the banner ads as much as 3 or even more, simply copy and paste the codethat is in main.xml and MainActivity.java, then replace the name “id” it then you‘ve managed tocreate applications with multi banner. ( Read : How To Add MOPUB Banner )