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 动画之RotateAnimation应用详解
★ Android笔记之:onConfigurationChanged详解
★ Android笔记之:App应用之启动界面SplashActivity的使用
上一篇:
Android屏幕亮度调节