title: App crash when xml layout is loaded
body: <p>I've created a layout of a Fragment.A t the first time I've created it works without problem, but when I made some changes the app crash when I open it.
  The very strange thing is that even if when I discard the changes ,and the xml code was perfectly equal to the first I've created, the app crash when the Fragment is open! So I don't understand what is the problem, is it possible an Eclipse's bug?</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout
      xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/drawer_layout" android:layout_width="match_parent"
      android:layout_height="match_parent" tools:context="com.lp.lemiediete.MainActivity"&gt;
  
      &lt;RelativeLayout 
          android:layout_width="match_parent" 
          android:layout_height="match_parent"&gt;
  
          &lt;TextView android:id="@+id/bmi_text" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" 
              android:textColor="#4285f4"
              android:textSize="30dp" 
              android:text="Il tuo Bmi" /&gt;
          &lt;TextView android:id="@+id/bmi" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" 
              android:layout_below="@+id/bmi_text"
              android:layout_centerHorizontal="true" 
              android:gravity="center|center_vertical"
              android:textColor="#000000" 
              android:textSize="50dp"
              android:text="" /&gt;
          &lt;TextView android:id="@+id/tipo" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" 
              android:layout_below="@+id/bmi"
              android:textColor="#000000" 
              android:layout_centerHorizontal="true"
              android:gravity="center|center_vertical" 
              android:textSize="20dp"
              android:text="" /&gt;
          &lt;TextView android:id="@+id/peso" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" 
              android:layout_below="@+id/tipo"
              android:textColor="#000000" 
              android:textSize="40dp" /&gt;
  
          &lt;TextView android:id="@+id/altezza" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content" 
              android:layout_below="@+id/tipo"
              android:layout_alignParentRight="true"
              android:textColor="#000000" 
              android:textSize="40dp" /&gt;
  
  
      &lt;/RelativeLayout&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>Logcat:</p>
  
  <pre><code>04-23 14:37:19.678: E/SQLiteLog(899): (1) no such table: date
  04-23 14:37:19.693: D/AndroidRuntime(899): Shutting down VM
  04-23 14:37:19.693: D/AndroidRuntime(899): --------- beginning of crash
  04-23 14:37:19.735: E/AndroidRuntime(899): FATAL EXCEPTION: main
  04-23 14:37:19.735: E/AndroidRuntime(899): Process: com.lp.lemiediete, PID: 899
  04-23 14:37:19.735: E/AndroidRuntime(899): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lp.lemiediete/com.lp.lemiediete.MainActivity}: android.database.sqlite.SQLiteException: no such table: date (code 1): , while compiling: SELECT data  FROM date
  </code></pre>