开发者

Is a dialogBox considered a View?

Is a DialogBox considered a View in And开发者_运维百科roid? I want to add one to a FrameLayout, but I'm not sure if I can? Is it possible?


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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜