在AndroidManifest.xml中声明Activity的主题为: android:theme="@android:style/Theme.Translucent.NoTitleBar" 则不会出现黑的问题