Fixed listview. Now it doesn't use android.R.id.list anymore. Solution : 1) use ListView listView = getListView(); and 2) Don't call setContentView()