I have a dialog
if(this.oDialogo==null) {
this.oDialogo = new Dialog(this, android.R.style.Theme_Translucent_NoTitleBar);
}
this.oDialogo.show();
this.oDialogo.setContentView(R.layout.dialog_stuff);
Inside, i have one EditText and two buttons. When I click on the EditText, and the Keyboard shows, BUT the dialog is hidden behind.
If I don't set the style for the dialog, it moves up and down when opening or closing the keyboard.
I set
this.oDialogo.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
Still stays behind the keyboard.
Can anyone point me how to handle the dialog so it moves with the keyboard?