DialogFragment not resizing when keyboard shown
I'm trying to use a SherlockDialogFragment to ask some input from the user. Everything works fine on my phone (Galaxy Nexus, 4.2), but on a smaller phone (emulator 2.3.3), when the keyboard shows up, it covers the two buttons of the DialogFragment, like this: My layout is inside a ScrollView, and I'm changing the softInputMode to SOFT_INPUT_ADJUST_RESIZE on my onViewCreated . I also tried SOFT_INPUT_ADJUST_PAN , and it didn't work MyCustomDialog.java public class AddTaskDialog extends SherlockDialogFragment implements OnDateSetListener{ //... @Override public void onViewCreated(View view,