在onCreate中设置: requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 在AndroidMainfest.xml设置: android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 自己写style: <style> <item name="android:windowNoTitle">true</item> <item name="android:windowFullscreen">true</item> <item name="android:background">#fff</item> </style>