title: Android LayoutParams Problem - View always up top
body: <p>I'm trying to put a mobclix ad banner in a cocos2D game.  I have the ad banner showing up on top of the openGL view.  However, I can not figure out how to place it at the bottom of the screen which is what we want.  The example from mobclix shows the use of a LinearLayout with gravity set to bottom.  I tried this in the GameActivity which is the main activity on startup:</p>
  
  <pre><code>    adview_banner = new MobclixMMABannerXLAdView(this);
      adview_banner.addMobclixAdViewListener(this);
  
      LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
      params.gravity = Gravity.BOTTOM;
  
      this.addContentView(adview_banner, params);
  
      adview_banner.bringToFront();
      adview_banner.getAd();
      adview_banner.setRefreshTime(30000);
  </code></pre>
  
  <p>No matter what I do here the banner always shows up on the top of the screen.   Any help would be greatly appreciated.</p>