Custom EditText not showing up in an alert dialog
<p>Good day, following the NotePad sample in the SDK, i wanted to have a custom EditText view show inside an alert dialog. My problem is, i can't seem to get any focus on the editText.. clicking in the EditText Area is not doing anything. </p>

<p>here is the code:</p>

<pre><code> LayoutInflater my_inflater = (LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

 View noteView = my_inflater.inflate(R.layout.note_pad,null);

line_edit_text = (EditText)findViewById(R.id.notes);

String yes = getResources().getString(R.string.Yes);

String no = getResources().getString(R.string.No);

String mynote = getResources().getString(R.string.add_notes);

            AlertDialog.Builder builder = new AlertDialog.Builder(this);
            builder.setTitle(mynote);
            builder.setView(noteView);

            builder.setPositiveButton("ok", new DialogInterface.OnClickListener() {

                public void onClick(DialogInterface dialog, int which) {
                    notes_to_save = line_edit_text.getText().toString();
                    dialog.dismiss();
                }
            });

            builder.setNegativeButton(no, new DialogInterface.OnClickListener() {

                public void onClick(DialogInterface dialog, int which) {
                    dialog.dismiss();
                }
            });

            final AlertDialog alert = builder.create(); 
            //alert.getWindow().setSoftInputMode( WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);

            alert.show();
</code></pre>

<p>All i did was take the code for the Custom EditText as well as the xml and put it in my code. but i can't see or get any focus for the EditText for the user to input. please help!</p>

<p>EDIT: just to point my question to a different direction, i have noticed that if i set another custom layout, it shows correctly, but it does not seem to load the view layout from the custom EditText in the sample SDK.   </p>
