I am trying to make an android application for Tablet. I need to display keyboard above all my activities by default and i don't need to hide the keyboard when user presses back key. Any idea to make it work???
EDIT: Solved by using a custom EditText
public class CustomEdit extends EditText {
public CustomEdit(Context context, AttributeSet attrs) {
super(context, attrs);
// TODO Auto-generated constructor stub
}
@Override
public boolean onKeyPreIme(int keyCode, KeyEvent event) {
// TODO Auto-generated method stub
Log.e("Log", "onKeyPreIme");
return true;
//return super.onKeyPreIme(keyCode, event);
}
}