title: Android - android.widget.ImageView cannot be cast to android.view.ViewGroup
body: <p>Trying to get a background of a pizza logo on a mock pizza form.</p>
  
  <p>For some reason, I keep getting an error.</p>
  
  <p>Here is the layout xml:</p>
  
  <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent"
  android:layout_height="fill_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  android:paddingBottom="@dimen/activity_vertical_margin"
  tools:context=".Short_Williams_Assignment3"&gt;
  
  &lt;ImageView
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:contentDescription="@string/photo"
      android:id="@+id/pizzaLogo"
      android:src="@drawable/pizza"&gt;
  &lt;LinearLayout&gt;
   &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textAppearance="?android:attr/textAppearanceLarge"
          android:text="@string/title_label"
          android:id="@+id/textView"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true" /&gt;
  
      &lt;RadioButton
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="Extra Large"
          android:id="@+id/radioButton4"
          android:checked="false" /&gt;
  
  &lt;/LinearLayout&gt;
  &lt;/ImageView&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>I'm not sure why I keep getting this error. I tried wrapping the image view inside of a frame layout, but it doesnt work.</p>
  
  <p>Thanks for any help you may provide!</p>