Q:

Set two different onKeyListener to the same view - Android

How can i set 2 onKeyListener to the same view. 
For ex if I have a EditText et, I want
et.setOnKeyListener(onKeyListener1);
et.setOnKeyListener(onKeyListener2);
Is there a way I can achieve this?

A:

You can't set two OnKeyListeners to the same EditText. 
Now, I'm not exactly sure what the additional features are in your special EditText, but maybe you can implement View.OnKeyListener to achieve what you want:
public class CommonOnKeyListener implements View.OnKeyListener{
    @Override
    public boolean onKey(View v, int keyCode, KeyEvent event) {
        /*
         *  Here, insert the code that is common to all your EditTexts
         */
        return false;
    }
}

Then you can define a second OnKeyListener that extends CommonKeyListener, and does some additional work for your particular EditText:
public class CustomOnKeyListener extends CommonOnKeyListener{
    @Override
    public boolean onKey(View v, int keyCode, KeyEvent event) {
        /* Make a call to the parent class's onKey method 
         * so you can reuse the functionality in your CommonOnKeyListener 
         */

        boolean result = super.onKey(v, keyCode, event);

        /*
         *  Your additional code goes here (e.g. for your special EditText)
         */

        return false;
    }
}

Now, all your EditTexts can use the CommonOnKeyListener, and you can set the CustomOnKeyListener to your special EditText:
View.OnKeyListener listener1 = new CommonOnKeyListener();
View.OnKeyListener listener2 = new CustomOnKeyListener();

// Set the key listeners to the appropriate EditTexts

yourEditText1.setOnKeyListener(listener1);
yourEditText2.setOnKeyListener(listener1);
yourSpecialEditText.setOnKeyListner(listener2);

