See the attached photo. Twitter does it well. They have a layout, which I will call a toolbar for lack of a better term, right above the onscreen keyboard. How can I do this
Important addition to the answers above.
When you work with DialogFragment fullscreen is applied implicitly.
That means that you have to:
1) set style in onCreate() of your DialogFragment:
public class YourDialogFragment extends DialogFragment {
...
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setStyle(DialogFragment.STYLE_NORMAL, android.R.style.Theme_Holo_NoActionBar);
}
}
2) if you use your own theme you should handle it like this: