app/src/main/res/values/themes.xml
@@ -15,6 +15,8 @@ </style> <style name="Theme.app" parent="Theme.AppCompat.DayNight.NoActionBar"> <!-- 全局字体 --> <item name="android:fontFamily">@font/roboto_regular</item> <!-- 窗口背景颜色 --> <item name="android:windowBackground">@color/windowBackground</item> <!-- 应用的主要色调,ActionBar Toolbar 默认使用该颜色 --> @@ -40,4 +42,9 @@ <item name="android:overScrollMode">never</item> </style> <!-- 全屏主题样式 --> <style name="FullScreenTheme" parent="Theme.app"> <item name="android:windowFullscreen">true</item> </style> </resources>