Hello All, *Delete key of soft keyboard call onKey method twice, when there is no text in EditText View*. Here is a snippet of OnKeyListener
mEditText.setOnKeyListener(new OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { Log.d("keyCode",String.valueOf(keyCode)); return false; } }); *//xml* <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <EditText android:id="@+id/EditText" android:layout_width="fill_parent" android:layout_height="wrap_content" /> </LinearLayout> *Does anyone know is it a bug or there is some reason behind this.* Thanks Regards Gopal -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.