Black screen after softkeyboard dissapear in android
<p>i am adding editoraction for my edittextfield using the below code</p>

<pre><code>  ed1=(EditText)findViewById(R.id.editText1);
    ed1.setOnEditorActionListener(new TextView.OnEditorActionListener() {
        @Override
        public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
            if (actionId == EditorInfo.IME_ACTION_DONE) {
                InputMethodManager imm = (InputMethodManager)getSystemService(Login.this.INPUT_METHOD_SERVICE);
                imm.hideSoftInputFromWindow(ed1.getWindowToken(), 0);

                performCheck();

                return true;
            }
            return true;
        }
    });
</code></pre>

<p>i am trying to start an intent  in performCheck().my problem is iam able to start the new activity but in between i am getting blackscreen at the place of soft keyboard. how to avoid this..?  </p>
