title: @layout/layoutID Error on XML
body: <p>im trying to run a sample code but i get this error when i run the application i get the error on xmp preview and run time </p>
  
  <pre><code>10-23 22:04:02.518: E/AndroidRuntime(1543): FATAL EXCEPTION: main
  10-23 22:04:02.518: E/AndroidRuntime(1543): Process: net.micode.compass, PID: 1543
  10-23 22:04:02.518: E/AndroidRuntime(1543): java.lang.RuntimeException: Unable to start activity ComponentInfo{net.miui.compass/net.miui.compass.CompassActivity}: android.view.InflateException: You must specifiy a layout in the include tag: &lt;include layout="@layout/layoutID" /&gt;
  10-23 22:04:02.518: E/AndroidRuntime(1543):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
  10-23 22:04:02.518: E/AndroidRuntime(1543):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
  10-23 22:04:02.518: E/AndroidRuntime(1543):     at android.app.ActivityThread.access$800(ActivityThread.java:135)
  10-23 22:04:02.518: E/AndroidRuntime(1543):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
  </code></pre>
  
  <p>and here is my xml file :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent" 
  &gt;
  
  &lt;FrameLayout
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="@drawable/background" &gt;
  
      &lt;LinearLayout
          android:id="@+id/view_compass"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:background="@drawable/background_light"
          android:orientation="vertical" &gt;
  
          &lt;LinearLayout
              android:layout_width="fill_parent"
              android:layout_height="0dip"
              android:layout_weight="1"
              android:orientation="vertical" &gt;
  
              &lt;FrameLayout
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:background="@drawable/prompt" &gt;
  
                  &lt;LinearLayout
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:layout_gravity="center_horizontal"
                      android:layout_marginTop="70dip"
                      android:orientation="horizontal" &gt;
  
                      &lt;LinearLayout
                          android:id="@+id/layout_direction"
                          android:layout_width="0dip"
                          android:layout_height="wrap_content"
                          android:layout_weight="1"
                          android:gravity="right"
                          android:orientation="horizontal" &gt;
                      &lt;/LinearLayout&gt;
  
                      &lt;ImageView
                          android:layout_width="20dip"
                          android:layout_height="fill_parent" &gt;
                      &lt;/ImageView&gt;
  
                      &lt;LinearLayout
                          android:id="@+id/layout_angle"
                          android:layout_width="0dip"
                          android:layout_height="wrap_content"
                          android:layout_weight="1"
                          android:gravity="left"
                          android:orientation="horizontal" &gt;
                      &lt;/LinearLayout&gt;
                  &lt;/LinearLayout&gt;
              &lt;/FrameLayout&gt;
  
              &lt;LinearLayout
                  android:layout_width="fill_parent"
                  android:layout_height="0dip"
                  android:layout_weight="1"
                  android:orientation="vertical" &gt;
  
                  &lt;FrameLayout
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:layout_gravity="center" &gt;
  
                      &lt;ImageView
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:layout_gravity="center"
                          android:src="@drawable/background_compass" /&gt;
  
                      &lt;net.micode.compass.CompassView
                          android:id="@+id/compass_pointer"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:layout_gravity="center"
                          android:src="@drawable/compass" /&gt;
  
                      &lt;ImageView
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:layout_gravity="center"
                          android:src="@drawable/miui_cover" /&gt;
                  &lt;/FrameLayout&gt;
              &lt;/LinearLayout&gt;
          &lt;/LinearLayout&gt;
  
          &lt;FrameLayout
              android:id="@+id/location_layout"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content" &gt;
  
              &lt;LinearLayout
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:background="@drawable/background_bottom"
                  android:orientation="vertical" &gt;
              &lt;/LinearLayout&gt;
  
              &lt;TextView
                  android:id="@+id/textview_location"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_gravity="center"
                  android:text="@string/getting_location"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textColor="#7FFFFFFF" /&gt;
          &lt;/FrameLayout&gt;
      &lt;/LinearLayout&gt;
  &lt;/FrameLayout&gt;
  
  &lt;include
  
      android:id="@+id/low_accuracy_view"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom|center_horizontal"
      android:layout_marginBottom="35dip"
      android:visibility="gone" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>i know i should add layout but where ?
  even xml preview is not working . and the full error is this : Exception raised during rendering: You must specifiy a layout in the include tag: </p>