Created
May 26, 2013 06:54
-
-
Save kodamirmo/5651926 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public boolean onKey(View v, int keyCode, KeyEvent event) { | |
if ((event.getAction() == KeyEvent.ACTION_DOWN) && | |
(keyCode == KeyEvent.KEYCODE_ENTER)) { | |
Log.i("TAG","Click en enter"); | |
return true; | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment