user2407147
user2407147

Reputation: 1550

How do I do make a small box

Sorry for beginning a noob but how do are do this with a small Activity/box where you can still see the background like in the image below. Are there any examples? Any help would be awesome. Thanks

Small box

Upvotes: 0

Views: 71

Answers (2)

sarabu
sarabu

Reputation: 521

Declare this code in your activity in manifest file then it becomes dialog

android:theme="@android:style/Theme.Dialog"

Upvotes: 0

Ken Wolf
Ken Wolf

Reputation: 23269

This is a Dialog

http://developer.android.com/guide/topics/ui/dialogs.html

A dialog is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is normally used for modal events that require users to take an action before they can proceed.

Upvotes: 1

Related Questions