user25 user25 - 1 year ago 63
Android Question

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

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

null

null

null

Answer Source

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