Here is the problem. I have a list view, and it looks fine in the building, but it broke the error. Content has view with id attribute \'android.r.id.list\' that is not a Li
You can inflate your View on onCreateView() method in which layout your ListView and id of that ListView must be
@android:id/list
and after that on onCreateView() method
ListView lv = (ListView)contactLayout.findViewById(android.R.id.list);