0

Create activity with dialog like buttons

view story
linux-howto

http://stackoverflow.com – How can I create an activity with the same layout/design as dialogs? Basically, I want to display a text and have two buttons at the bottom of the activity, similar to a dialog with the big difference, that it still should be an activity, thus rather fullscreen than a more smaller dialog. As an alternative, I was thinking about this: With the following option: <activity android:theme="@android:style/Theme.Dialog" ... I can present my activity as a dialog. But how do I now add these action buttons which look the same way as these from a dialog? If I just add a Button <Button/> i (HowTos)