<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2022 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<resources>
    <style name="OptOutEdgeToEdge" parent="@android:style/Theme.DeviceDefault">
        <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
    </style>

    <style name="OptOutEdgeToEdge.NoTitleBar" parent="@android:style/Theme.NoTitleBar">
        <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
    </style>

    <style name="OptOutEdgeToEdge.AppCompatTheme" parent="@style/Theme.AppCompat.Light">
        <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
    </style>

    <style name="DefaultTheme" parent="@style/OptOutEdgeToEdge">
        <item name="android:windowBackground">@android:color/darker_gray</item>
    </style>

    <style name="CutoutDefault" parent="@style/DefaultTheme">
        <item name="android:windowLayoutInDisplayCutoutMode">default</item>
    </style>

    <style name="CutoutShortEdges" parent="@style/DefaultTheme">
        <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
    </style>

    <style name="CutoutNever" parent="@style/DefaultTheme">
        <item name="android:windowLayoutInDisplayCutoutMode">never</item>
    </style>

    <style name="DialogTheme" parent="@style/OptOutEdgeToEdge">
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@null</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:backgroundDimEnabled">false</item>
        <item name="android:windowSoftInputMode">stateUnchanged</item>
    </style>

    <style name="TransparentTheme" parent="@style/OptOutEdgeToEdge">
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:backgroundDimEnabled">false</item>
    </style>

    <style name="no_starting_window" parent="@style/OptOutEdgeToEdge">
        <item name="android:windowDisablePreview">true</item>
    </style>

    <style name="SplashscreenAppTheme" parent="@style/OptOutEdgeToEdge">
        <!-- Splashscreen Attributes -->
        <item name="android:windowSplashScreenAnimatedIcon">@drawable/avd_anim</item>
        <!-- Here we want to match the duration of our AVD -->
        <item name="android:windowSplashScreenAnimationDuration">900</item>
    </style>
</resources>
