hello how to show mopub ad at the bottom?
I have this code
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(
RelativeLayout.LayoutParams.MATCH_PARENT, RelativeLayout.LayoutParams.MATCH_PARENT);
params.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
mopView = new MoPubView(this);
mopView.setAdUnitId(PUB_ID_320x50);
mopView.setLayoutParams(params);
mopView.loadAd();
mainRelative.addView(mopView, params);
but it show in center of screen , how to align to bottom? p.s. my main layout is RelativeLayout