title: Android: Custom view fails to instantiate
body: <p>I am trying to add Smaato to my app to monotize it. I have been following the <a href="http://nkonecny.com/smaato.pdf" rel="nofollow">developers guide</a> but I keep getting the error that my custom view for the banner isn't being instantiated. I have the custom view wrapped in a relative layout:</p>
  
  <pre><code>    &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical" android:layout_width="fill_parent"
      android:layout_alignParentBottom="true" android:id="@+id/adcontainer"
      android:layout_height="50dip" android:background="#666"&gt;
          &lt;com.smaato.SOMA.SOMABanner android:id="@+id/BannerView"
              android:layout_width="fill_parent" android:layout_height="50dip" /&gt;
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I follow the other steps, but no where does it seem to show how to instantiate the view. Any ideas how to do this?</p>