Code example for KeyListener

Methods: clearMetaKeyState

0
					KeyListener kl = et.getKeyListener(); 
					et.setKeyListener(new WrappedKeyListener(kl){ 
						@Override 
						public void clearMetaKeyState(View view, Editable content, 
								int states) { 
							keyListener.clearMetaKeyState(view, content, states); 
						} 
	 
						@Override 
						public int getInputType() { 
							return keyListener.getInputType(); 
						} 
	 
						@Override 
						public boolean onKeyDown(View view, Editable text, 
								int keyCode, KeyEvent event) { 
							//Log.v(TAG, "keydown"); 
							return keyListener.onKeyDown(view, text, keyCode, event); 
						} 
	 
						@Override