Using DialogFragments
«[This post is by David Chandler , Android Developer Advocate — Tim Bray] Honeycomb introduced Fragments to support reusing portions of UI and logic across multiple activities in an app. In parallel, the showDialog / dismissDialog methods in Activity are being deprecated …