final EditText editText = (EditText) findViewById(R.id.fullscreen_edit);
editText.setFilters(new InputFilter[] {new InputFilter() {
@Override
public CharSequence filter(CharSequence src, int start, int end, Spanned dst, int dstart, int dend) {
if(src.subSequence(0, src.length())=="")
{
src="";
}
return src;
}
} });
略作修改就可以屏蔽你想屏蔽掉任何键