I have a problem with the setEmptyView method from a ListView.
Here is my Java code:
ListView view = (ListView)findViewById(R.id.listView1); view.se
Create a layout in XML that specifies both the ListView and the empty view you want to use. If you give them IDs of @android:id/list and @android:id/empty, android will automatically use the view with id:empty when list is empty.
ListView
@android:id/list
@android:id/empty
id:empty