same problem i also facing i decalre like this , but didn't take acttionId ... why?
final EditText txtQty = new EditText(this); txtQty.setHeight(1); txtQty.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 42)); txtQty.setInputType(InputType.TYPE_CLASS_PHONE); txtQty.setImeOptions(EditorInfo.IME_ACTION_DONE); txtQty.setSelectAllOnFocus(true); txtQty.setTextSize(9); txtQty.setVisibility(View.VISIBLE); txtQty.setHint("0.0"); txtQty.setHighlightColor(R.color.green); tr.addView(txtQty); txtQty.setOnEditorActionListener( new OnEditorActionListener() { public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { Log.i("KeyBoard" ,"Inside the Edit Text"); if (actionId == EditorInfo.IME_ACTION_DONE ||actionId == EditorInfo.IME_ACTION_NEXT ) { ......} -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en