Listener For Enter Click within ListView Footer
<p>I want to have an edit text as a footer in my listView so I am able to add a comment. I can add the edittext to the listview no problem but I receive no events to the listener I set. Any ideas why?</p>

<pre><code>    editText = new EditText(getActivity());
    editText.setHint("add comment");
    editText.setBackgroundColor(Color.GRAY);
    getListView().addFooterView(editText);
    editText.setImeOptions(EditorInfo.IME_ACTION_DONE);
    editText.setOnEditorActionListener(new TextView.OnEditorActionListener() {
        @Override
        public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
            Log.d(DetailFragment.class.getSimpleName(), "pressed");
            return false;
        }
    });
    setListAdapter(commentAdapter);
</code></pre>
