如何设置对话框以全屏显示? [英] How to set dialog to show in full screen?

查看:215
本文介绍了如何设置对话框以全屏显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 GridView ,我想实现一个对话框,在该对话框上
我选择的图片应全屏显示。

I have a GridView and i want to make an implémentation of a dialog, on which the picture that i have selected should display in full screen.

那么如何使对话框以全屏模式显示?
谢谢!

so how can i make the dialog shows in a full screen mode ? thanks!

推荐答案

尝试

Dialog dialog=new Dialog(this,android.R.style.Theme.Black.NoTitleBar.Fullscreen)

这篇关于如何设置对话框以全屏显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆