I have created an xml file like this:
Rename the id of your ListView like this,
Since you are using ListActivity your xml file must specify the keyword android while mentioning to a ID.
If you need a custom ListView then instead of Extending a ListActivity, you have to simply extend an Activity and should have the same id without the keyword android.