1

How to implement Header in a ListFragment with CursorLoader

view story
linux-howto

http://stackoverflow.com – Trying to put a header in a ListFragment like this @Override public View onCreateView(org.holoeverywhere.LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View listRoot = inflater.inflate(R.layout.list, null); headerView = inflater.inflate(R.layout.header); return listRoot; } In onActivityCreated @Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText("No Contacts"); setHasOptionsMenu(true); ListView listView = getListView(); //String headerData = "ZZZZZZZZ"; (HowTos)