修复深色模式下看不见菜单

This commit is contained in:
LittleTurtle2333
2022-02-18 23:11:07 +08:00
parent 1fc6c1944f
commit 422c3e3c1b
2 changed files with 30 additions and 1 deletions

View File

@@ -1,10 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="AppTheme" parent="android:Theme.Material.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="android:colorPrimary">@color/white</item>
<item name="android:colorPrimaryDark">@color/foreground</item>
<item name="android:colorAccent">@color/colorAccent</item>
<!-- Customize your theme here. -->
<item name="android:textAllCaps">false</item>
<item name="android:textColor">@color/black</item>
<item name="android:statusBarColor">@color/white</item>
<item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
<item name="android:forceDarkAllowed" tools:targetApi="Q">true</item>
</style>
<!-- 定义dialog的样式-->
</resources>