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

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

问题描述

我有一个GridView,它显示了很多图像,当我点击任何图像时,它将在全屏对话框中显示完整图像



请告诉我怎么做



谢谢。

解决方案

尝试

 对话框对话框=新的对话框(这个,android.R.style.Theme_Black_NoTitleBar_Fullscreen)


I have a GridView which show a lot of images and when I click any image it will show full image in a full screen dialog

Please tell me how to do that

thanks.

解决方案

try

Dialog dialog=new Dialog(this,android.R.style.Theme_Black_NoTitleBar_Fullscreen)

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

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