Newer
Older
OperationSite / app / src / main / res / values / themes.xml
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
    <!-- Base application theme. -->
    <style name="Base.Theme.OperationSite" parent="Theme.MaterialComponents.Light.NoActionBar">
        <!-- Customize your light theme here. -->
        <item name="colorPrimary">@color/mainThemeColor</item>

        <!-- 从 Android 15 开始,系统默认开启了 Edge-to-Edge 模式,这可能会导致 ImmersionBar 的一些功能失效 -->
        <item name="android:windowOptOutEdgeToEdgeEnforcement" tools:targetApi="35">true</item>
    </style>

    <style name="Theme.OperationSite" parent="Base.Theme.OperationSite" />

    <style name="Theme.CustomActivityAnimation" parent="Theme.Material3.Light.NoActionBar">
        <item name="android:windowAnimationStyle">@style/ActivityInOutAnimation</item>
    </style>
</resources>