Added search for messages with attachment

This commit is contained in:
M66B
2020-02-24 17:43:52 +01:00
parent e7209b9cd3
commit 2fc758ef0b
5 changed files with 13 additions and 5 deletions

View File

@@ -64,6 +64,7 @@ public class SearchViewEx extends SearchView {
cursor.addRow(new Object[]{-3, prefix + ":" + getContext().getString(R.string.title_search_special_flagged)});
cursor.addRow(new Object[]{-4, prefix + ":" + getContext().getString(R.string.title_search_special_snoozed)});
cursor.addRow(new Object[]{-5, prefix + ":" + getContext().getString(R.string.title_search_special_encrypted)});
cursor.addRow(new Object[]{-6, prefix + ":" + getContext().getString(R.string.title_search_special_attachments)});
SimpleCursorAdapter adapter = new SimpleCursorAdapter(
getContext(),
R.layout.search_suggestion,