title: Android cannot access textView component from activity
body: <p>I have the following actvity.</p>
  
  <pre><code>package org.dewsworld.ui;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.util.Log;
  import android.widget.TextView;
  
  public class DetailList extends Activity {
  
      TextView title = (TextView) findViewById(R.id.title) ;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
  
          setContentView(R.layout.detail_list);
  
          title.setText("hello world"); 
      }
  
  }
  </code></pre>
  
  <p>Which manipulate detail_list.xml</p>
  
  <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="match_parent"
      android:layout_height="match_parent" android:weightSum="1"&gt;
      &lt;TextView android:id="@+id/title" android:textAppearance="?android:attr/textAppearanceMedium"
          android:layout_height="wrap_content" android:layout_width="match_parent"
          android:text="@string/headline" /&gt;
      &lt;ListView android:id="@+id/listView1" android:layout_width="match_parent" android:layout_height="match_parent"&gt;&lt;/ListView&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>But, when I run this, I get a runtime error. LogCat is,</p>
  
  <p><img src="https://i.stack.imgur.com/OZWKV.png" alt="enter image description here"></p>