深色模式报错解决办法

在style.xml中加入:

1
2
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>