Bug 1046485 - Move search bar out of SearchFragment 

nit: probably should either pass trimmedQuery to onSearch, or alternatively don't allocate a variable for trimmedQuery and instead use text.trim() directly within the isEmpty test.