取消黑暗模式 在你的AndroidManifest.xml文件中,在application标签下,设置全局android:theme="xxx": <style name="BaseAppTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"> ... <item name="android:forceDarkAllowed" tools:targetApi="q">false</item> ... </style>