android-actionbar in a ListActivity
<p><br>
I'm trying to make the <a href="https://github.com/johannilsson/android-actionbar/" rel="nofollow">android-actionbar</a> plugin working in my ListActivity,</p>

<p>Here's my Class :  </p>

<pre><code>public class DisciplinesController extends ListActivity {

private DisciplinesModel dbHelper;
private Cursor cursor;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.list_action);

    ActionBar actionBar = (ActionBar) findViewById(R.id.actionbar);

    dbHelper = new DisciplinesModel(this);
    dbHelper.open();
    if (dbHelper.fetchDisciplineCount() == 0) {
        dbHelper.fetch();
    }
    cursor = dbHelper.fetchAllDisciplines();
    startManagingCursor(cursor);

    ListAdapter adapter = new SimpleCursorAdapter(this, R.id.list, 
            cursor, new String[] { "name" }, new int[] { R.id.discipline_name});
    setListAdapter(adapter);
    getListView().setTextFilterEnabled(true);
}
}
</code></pre>

<p>and my XML layout :</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="fill_parent"
android:layout_height="fill_parent"&gt;

&lt;com.markupartist.android.widget.ActionBar
    android:id="@+id/actionbar" style="@style/ActionBar" /&gt;

&lt;LinearLayout android:id="@+id/list" android:layout_width="fill_parent"
    android:layout_height="wrap_content"&gt;
    &lt;TextView android:id="@+id/discipline_name"
        android:layout_width="fill_parent" android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:gravity="center_vertical" android:paddingLeft="6dip"
        android:minHeight="?android:attr/listPreferredItemHeight" /&gt;
&lt;/LinearLayout&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>I always have this exception :</p>

<pre><code>Your content must have a ListView whose id attribute is 'android.R.id.list'
</code></pre>

<p>Do you have an idea ??</p>

<p>Thanks !</p>
