In the Calendar app on my Galaxy Tab 10.1, when creating a new event a dialog comes up with Done and Cancel buttons in the title bar/action bar area.

I’d like to implement this in my app. I’ve tried using setHasOptionsMenu(true) in addition to overriding onCreateOptionsMenu in my DialogFragment subclass, but my action items do not appear. I’ve also tried calling getDialog().getActionBar() from within onCreateView but it always returns null.
I am able to get this working if I start an Activity rather than showing a dialog but that takes up the whole screen. Is there a standard way to do this using a DialogFragment?
using the idea from a google group post I was able to pull it off styling an activity. you would want to modify the height and width to a “dynamic” size of your choice preferably. Then set whatever ActionBar buttons you would like
—