Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- revMob = RevMob.start(this, <<APPLICATION_ID>>);
- revMob.printEnvironmentInformation(this);
- revMob.setTestingMode(RevMobTestingMode.WITH_ADS);
- popup = revMob.createPopup(this, null);
- fullscreen = revMob.createFullscreen(this, null);
- RevMobBanner banner = revMob.createBanner(this);
- LinearLayout l1 = new LinearLayout(this);
- l1.setOrientation(LinearLayout.VERTICAL);
- l1.setWeightSum(1.0f);
- LinearLayout.LayoutParams p1 = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, 0);
- p1.weight = 0.075f;
- LinearLayout.LayoutParams p2 = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, 0);
- p1.weight = 0.925f;
- l1.addView(renderView, p1);
- l1.addView(banner, p2);
- setContentView(l1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement