在应用开发中,有时候需要利用d出全屏的悬浮窗,因为有导航栏显示所以总是不能全屏,所以需要设置某些属性 让窗口全屏显示 例如: 在onCreate中的这段代码Window window = getWindow();