---
title: "关闭输入法"
author: "yehoubin"
date: "2010-10-15T10:11:40Z"
tags: []
categories: ["移动开发"]
slug: "untitled"
draft: false
lastmod: "2010-10-15T10:11:40Z"
id: 785497
url: "https://yehoubin.iteye.com/blog/785497"
---

//关闭输入法
			InputMethodManager inputMethodManager = (InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
            inputMethodManager.hideSoftInputFromWindow(foodFindEditText.getWindowToken(), 0);