将AndroidManifest.xml文件中关于Activity的theme配置改为: android:theme="@style/Theme.AppCompat.Light.NoActionBar"