This is not quite the answer, but keep in mind that the usefulness of input type filters may depend on the IME you use; some keyboards are not easy to obey these types of input ... I found out that it is difficult .: (
With that in mind, have you tried using other input types to make sure they stick to it? If they stick, this is probably an IME issue. If this is not the case, there is probably a problem with the way you are trying to provide input like input.
Now, for the shot in response:
You can try onCreateOptionsMenu to search by the identifier of this menu item, cast in SearchView and set the input type in the code:
@Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater menuInflater = getMenuInflater(); menuInflater.inflate(R.menu.default_menu, menu); if (MyApplication.SUPPORTS_HONEYCOMB) {
Jon O Mar 03 '12 at 15:55 2012-03-03 15:55
source share