Bonjour

j'essaie de modifier l'affichage de ma listview.
J'ai créé un fichier listitem.xml

<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dp"
android:textSize="12sp">
</TextView>
et dans mon activité je crée la liste ainsi :

setListAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1, matable));
là tout est ok ca marche comme normal mais si j'essaie de passer par mon fichier xml ca plante je dois surement oublier de le déclarer mais où dois je le faire?
setListAdapter(new ArrayAdapter<String>(this,android.R.layout.listitem, matable));
Eclypse me dit "listitem cannot be resolved or is not a field"
est ce un bugg ou ais je encore oublié quelquechose?