title: Any thing wrong with this xml layout file? Why setContentView fails after loading this file and the app closed after this
body: <p>Here's the XML file. Strange that my program exited right away after executing setContentView. The logcat showed nothing but this</p>
  
  <blockquote>
    <p>thread id=1 thread exiting with uncaught exception (group=0x417d)</p>
  </blockquote>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"&gt;
  
  
    &lt;TextView android:id="@+id/SpeechResult"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:background="@drawable/rounded_edge"
      android:padding="6dip"
      android:hint="Waht is on your mind?"/&gt;
  
    &lt;ToggleButton
      android:id="@+id/ToggleRecognition"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="bottom"
      android:textOff="Start"
      android:textOn="Stop"
      android:onClick="onToggleRecognition"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>