在AndroidManifest.xml中增加Theme.Translucent.NoTitleBar属性,如下: <android:theme="@android:style/Theme.Translucent.NoTitleBar"> 转载于:https://www.cnblogs.com/chengliu/p/4130621.html