因为是在AndroidManifest.xml中Activity使用了android:theme="@android:style/Theme.Black.NoTitleBar"属性, 这个应在Activity类中设置即可。