mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28:50 -05:00
Use a more appropriate title when diplaying folder search results.
This commit is contained in:
parent
d7cb89880a
commit
993b025906
@ -632,6 +632,7 @@ public class FolderList extends K9ListActivity implements OnNavigationListener {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onQueryTextSubmit(String query) {
|
public boolean onQueryTextSubmit(String query) {
|
||||||
folderMenuItem.collapseActionView();
|
folderMenuItem.collapseActionView();
|
||||||
|
mActionBarTitle.setText(getString(R.string.filter_folders_action));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -641,6 +642,15 @@ public class FolderList extends K9ListActivity implements OnNavigationListener {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
folderSearchView.setOnCloseListener(new SearchView.OnCloseListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean onClose() {
|
||||||
|
mActionBarTitle.setText(getString(R.string.folders_title));
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public boolean onContextItemSelected(android.view.MenuItem item) {
|
@Override public boolean onContextItemSelected(android.view.MenuItem item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user