title: Simple ListActivity crashing
body: <p>[edit] logcat here: <a href="https://app.box.com/s/08yuzv8hq4bgt7qpemy0" rel="nofollow">https://app.box.com/s/08yuzv8hq4bgt7qpemy0</a> </p>
  
  <p>It's this really simple training app I'm doing and the app keeps crashing upon launch:</p>
  
  <pre><code>package com.example.myown;
  
  import android.app.ListActivity;
  import android.os.Bundle;
  import android.view.Menu;
  import android.widget.ArrayAdapter;
  import android.widget.ListView;
  
  public class MainActivity extends ListActivity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
  
      ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(MainActivity.this, android.R.layout.simple_list_item_1, R.array.arraye);
        setListAdapter(adapter);
  
        ListView lv = getListView();
  
  
  }
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.main, menu);
      return true;
  }
  
  }
  </code></pre>
  
  <p>Can you see any reason this would happen? It crashes as soon as I open the app - the activity appears with no list view and then I get the usual "MyOwn has stopped".</p>
  
  <p>This is the activity_mail.xml:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity" &gt;
  
  
    &lt;TextView
        android:id="@+id/view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
     /&gt;
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Here is strings.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  
  &lt;string name="app_name"&gt;MyOwn&lt;/string&gt;
  &lt;string name="action_settings"&gt;Settings&lt;/string&gt;
  &lt;string name="hello_world"&gt;Hello world!&lt;/string&gt;
  &lt;string-array name="arraye"&gt;
      &lt;item&gt;one&lt;/item&gt;
      &lt;item&gt;two&lt;/item&gt;
      &lt;item&gt;three&lt;/item&gt;
      &lt;item&gt;four&lt;/item&gt;
  &lt;/string-array&gt;
  
  &lt;/resources&gt;
  </code></pre>