DialogFragment and Activity

view story

http://stackoverflow.com – Is it possible to use a DialogFragment when using an Activity instead of a FragmentActivity? the show() methods needs a FragmentManager. I want to implement a Dialog which contains just one EditText, and the tutorials on android developers says I have to use a custom layout on a dialog fragment. So I asked cause I don't feel like changing to use FragmentActivity just for 1 dialog. (HowTos)