Source:
<code>public View onCreateView(final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { app = (WikipediaApp)getActivity().getApplicationContext(); app.getBus().register(this); LinearLayout parentLayout = (LinearLayout) inflater.inflate(R.layout.fragment_search, container, false); if (savedInstanceState != null) { getFromBundle(savedInstanceState); } else { getFromBundle(getArguments()); } searchResultsList = (ListView) parentLayout.findViewById(R.id.search_results_list); searchNetworkError = parentLayout.findViewById(R.id.search_network_error); searchNoResults = parentLayout.findViewById(R.id.search_results_empty); progressBar = parentLayout.findViewById(R.id.search_progress); fullSearchContainer = parentLayout.findViewById(R.id.full_search_container); fullSearchContainer.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Utils.hideSoftKeyboard(getActivity()); hideSearchResults(); ((PageActivity)getActivity()).searchFullText(searchTerm); } }); searchHandler = new Handler(new SearchHandlerCallback()); searchResultsList.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { PageTitle title = (PageTitle) searchResultsList.getAdapter().getItem(position); navigateToTitle(title); } }); searchNetworkError.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startSearch(searchTerm); searchNetworkError.setVisibility(View.GONE); } }); adapter = new SearchResultAdapter(inflater); searchResultsList.setAdapter(adapter); <START> ((PageActivity)getActivity()).getDrawerToggle().setDrawerIndicatorEnabled(false); <END> return parentLayout; }</code><technical_language>i put this in onResume</technical_language>

Target:
public View onCreateView(final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { app = (WikipediaApp)getActivity().getApplicationContext(); app.getBus().register(this); LinearLayout parentLayout = (LinearLayout) inflater.inflate(R.layout.fragment_search, container, false); if (savedInstanceState != null) { getFromBundle(savedInstanceState); } else { getFromBundle(getArguments()); } searchResultsList = (ListView) parentLayout.findViewById(R.id.search_results_list); searchNetworkError = parentLayout.findViewById(R.id.search_network_error); searchNoResults = parentLayout.findViewById(R.id.search_results_empty); progressBar = parentLayout.findViewById(R.id.search_progress); fullSearchContainer = parentLayout.findViewById(R.id.full_search_container); fullSearchContainer.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Utils.hideSoftKeyboard(getActivity()); hideSearchResults(); ((PageActivity)getActivity()).searchFullText(searchTerm); } }); searchHandler = new Handler(new SearchHandlerCallback()); searchResultsList.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { PageTitle title = (PageTitle) searchResultsList.getAdapter().getItem(position); navigateToTitle(title); } }); searchNetworkError.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { startSearch(searchTerm); searchNetworkError.setVisibility(View.GONE); } }); adapter = new SearchResultAdapter(inflater); searchResultsList.setAdapter(adapter); return parentLayout; }