the-blue-alliance/the-blue-alliance-android — pull request #127 by brycematsuda (2014-06-16 10:42:33+00:00)
Title: Extra ways to hide soft keyboard after searching

Probably could've been a better name for the branch, but bleh late night brain and bug hunting...

I noticed after searching the only way to hide the soft keyboard is the arrow at the bottom of the screen, which is okay, but I've noticed other apps hide it when touching outside of the keyboard or when hitting the search button. I know onQueryTextChange does all the searching instantly (sorta like google search sometimes), but I feel the first instinct after typing something in search is to hit the search button...and also the search button shouldn't just be doing nothing.

Handling touches outside of the keyboard is limited to just the list items to make life easier for now; if the item touched isn't a team, event, or header with more results to display (like "No events/teams found"), hide the keyboard.