user25 user25 - 3 months ago 8
Android Question

null null null null null remove it, it's enough

remove the question, it's enough!
............................................
null

null

null

null

Answer

You can try this

TextView et = (TextView) searchView.findViewById(R.id.search_src_text);
        et.setFilters(new InputFilter[]{new InputFilter.LengthFilter(10)});

source http://stackoverflow.com/a/36548089/5284441