title: Rendering problems in xml for admob
body: <p>I was following this tutorial on how to get adMob on your app <a href="https://developers.google.com/mobile-ads-sdk/docs/admob/android/quick-start" rel="nofollow">Here</a> and
  In my xml layout file for my activity I am getting a rendering problem:</p>
  
  <pre><code>A &lt;fragment&gt; tag allows a layout file to dynamically include different layouts at runtime. At layout editing time the specific layout to be used is not known. You can choose which layout you would like previewed while editing the layout.
  - &lt;fragment xetron.cosmicclicker.MyActivity$AdFragment ...&gt; (Pick Layout...)
  - &lt;fragment xetron.cosmicclicker.MyActivity$AdFragment ...&gt; (Pick Layout...)
   Do not warn about &lt;fragment&gt; tags in this session 
  </code></pre>
  
  <p>Xml layout file for activity below</p>
  
  <pre><code>    &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="8dp"
      android:orientation="vertical"
      android:paddingBottom="6dp"
      android:gravity="center|top"
      android:background="@drawable/background"
      tools:context=".MyActivity"&gt;
  
  
  
      &lt;fragment
          android:name="xetron.cosmicclicker.MyActivity$AdFragment"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_above="@+id/adFragment" /&gt;
  
      &lt;fragment
          android:id="@+id/adFragment"
          android:name="xetron.cosmicclicker.MyActivity$AdFragment"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true" /&gt;
  
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>What have I done wrong and how do i fix this?</p>