From: Thad Hughes Date: Thu, 26 Dec 2013 19:52:02 +0000 (-0800) Subject: Removed old menu. X-Git-Url: http://gitweb.fperrin.net/?p=Dictionary.git;a=commitdiff_plain;h=4a0a832b09c2e1c189701b4b9e2529b37592e0b0 Removed old menu. --- diff --git a/res/menu/dictionary_manager_options_menu.xml b/res/menu/dictionary_manager_options_menu.xml deleted file mode 100644 index 846f072..0000000 --- a/res/menu/dictionary_manager_options_menu.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/com/hughes/android/dictionary/DictionaryManagerActivity.java b/src/com/hughes/android/dictionary/DictionaryManagerActivity.java index 36eec14..85e1373 100644 --- a/src/com/hughes/android/dictionary/DictionaryManagerActivity.java +++ b/src/com/hughes/android/dictionary/DictionaryManagerActivity.java @@ -348,24 +348,6 @@ public class DictionaryManagerActivity extends SherlockListActivity { @Override public boolean onCreateOptionsMenu(final Menu menu) { -// MenuInflater inflater = getSupportMenuInflater(); -// inflater.inflate(R.menu.dictionary_manager_options_menu, menu); -// -// filterSearchView = (SearchView) menu.findItem(R.id.filterText).getActionView(); -// filterSearchView.setOnQueryTextListener(new OnQueryTextListener() { -// @Override -// public boolean onQueryTextSubmit(String query) { -// return true; -// } -// -// @Override -// public boolean onQueryTextChange(String filterText) { -// setListAdapater(); -// return true; -// } -// }); -// filterSearchView.setIconifiedByDefault(false); - application.onCreateGlobalOptionsMenu(this, menu); return true; } @@ -420,24 +402,6 @@ public class DictionaryManagerActivity extends SherlockListActivity { prefs.commit(); } -// @Override -// private void onClick(int index) { -// final DictionaryInfo dictionaryInfo = adapter.getItem(index); -// final DictionaryInfo downloadable = -// application.getDownloadable(dictionaryInfo.uncompressedFilename); -// if (!application.isDictionaryOnDevice(dictionaryInfo.uncompressedFilename) -// && downloadable != null) { -// final Intent intent = getDownloadIntent(downloadable); -// startActivity(intent); -// } else { -// final Intent intent = -// DictionaryActivity.getLaunchIntent( -// application.getPath(dictionaryInfo.uncompressedFilename), -// 0, ""); -// startActivity(intent); -// } -// } - class MyListAdapter extends BaseAdapter { List dictionariesOnDevice;