in app/src/main/java/com/google/firebase/example/fireeats/RestaurantDetailActivity.java [235:241]
private void hideKeyboard() {
View view = getCurrentFocus();
if (view != null) {
((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE))
.hideSoftInputFromWindow(view.getWindowToken(), 0);
}
}