public boolean queryTriggersSearch(final String query) {
        return StringUtils.length(query) >= 2;
    }
Highlight the selected text (case insensitive) in the given TextView
main/src/main/java/cgeo/geocaching/search/SearchAutoCompleteAdapter.java