Hani Honey
Hani Honey

Reputation: 2131

Is a dialogBox considered a View?

Is a DialogBox considered a View in Android? I want to add one to a FrameLayout, but I'm not sure if I can? Is it possible?

Upvotes: 2

Views: 92

Answers (2)

matsjoe
matsjoe

Reputation: 1480

You probably need to make a custom dialog for this matter a good help for that is the official android developer website

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

Upvotes: 1

harism
harism

Reputation: 6073

Unless there's something I'm missing, no, Dialog inherits directly from Object, and does not apply as a View. But I have to ask, why do you want to add Dialog into a FrameLayout in the first place?

Upvotes: 3

Related Questions