Android监听键盘上的确定键
摘要:mETCommentContent.setOnEditorActionListener(newOnEditorActionListener(...
mETCommentContent.setOnEditorActionListener(new OnEditorActionListener() { @Override public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { if (actionId == EditorInfo.IME_ACTION_DONE) { hideSoftInput(); } return false; } });
【Android监听键盘上的确定键】相关文章:
★ Android开发的IDE、ADT、SDK、JDK、NDK等名词解释
★ 解析Android开发优化之:对Bitmap的内存优化详解
★ Android笔记之:onConfigurationChanged详解
★ Android 动画之RotateAnimation应用详解
上一篇:
Android屏幕亮度调节