digvijay
digvijay

Reputation: 189

start an activity without changing the background

How do I start a new activity in the front keeping the background as it is and the layout of the new activity is a small frame?? I have seen this in some applications where the background becomes a bit blur and the new activity is started right on top of it... how can I implement this??

Upvotes: 1

Views: 296

Answers (2)

Snicolas
Snicolas

Reputation: 38168

You can also use a theme dialog for activities, it gives you the look of a dialog and all flexibility of an activity :

In your manifest, when declaring your activity :

<activity android:theme="@android:style/Theme.Dialog">

Regards, Stéphane

Upvotes: 1

FeatureCreep
FeatureCreep

Reputation: 1832

Perhaps you are thinking of a popup window? Not necessarily a new activity, though, but you can overlay the window over the one in the background.

Upvotes: 1

Related Questions