How do I disable long press option menu key to bring up keyboard?
<p>I have creted an optionMenu in my app,all works fine but when i longpress in the optionMenu button an inputKeyboard is appear..so how can i disable this input keyboard to appear on longpress of option menu..the code i have wrritten is..</p>

<pre><code>            public boolean onCreateOptionsMenu(Menu menu)
            {                   
                MenuInflater inflater = getMenuInflater();
                inflater.inflate(R.menu.menu, menu);
                return true;
            }

            public boolean onOptionsItemSelected(MenuItem item)
            {   

                switch (item.getItemId()) 
                {
                    case R.id.settingOpt:                           
                    Intent intent = new Intent(this, SettingForm.class);
                    this.startActivity(intent);  
                    break;         

                    case R.id.reminderOpt:                          
                    Intent intentR = new Intent(this, ReminderForm.class);
                    this.startActivity(intentR);   
                    break;

                    case R.id.helpOpt:                          
                    Intent intentH = new Intent(this, HelpForm.class);
                    this.startActivity(intentH);                                    
                    break;

                    case R.id.shareOpt:                             
                    Intent share = new Intent(android.content.Intent.ACTION_SEND);
                    share.setType("text/plain");
                    share.putExtra(Intent.EXTRA_SUBJECT, "Name of the thing to share");
                    share.putExtra(Intent.EXTRA_TEXT, "www.gmail.com");
                    startActivity(Intent.createChooser(share, "Title of the dialog that will show up"));
                    break;

                    default:

                    return super.onOptionsItemSelected(item);       
                }
                return true;
         }
</code></pre>
