1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2022 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<resources>
19    <style name="OptOutEdgeToEdge" parent="@android:style/Theme.DeviceDefault">
20        <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
21    </style>
22
23    <style name="OptOutEdgeToEdge.NoTitleBar" parent="@android:style/Theme.NoTitleBar">
24        <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
25    </style>
26
27    <style name="OptOutEdgeToEdge.AppCompatTheme" parent="@style/Theme.AppCompat.Light">
28        <item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
29    </style>
30
31    <style name="DefaultTheme" parent="@style/OptOutEdgeToEdge">
32        <item name="android:windowBackground">@android:color/darker_gray</item>
33    </style>
34
35    <style name="CutoutDefault" parent="@style/DefaultTheme">
36        <item name="android:windowLayoutInDisplayCutoutMode">default</item>
37    </style>
38
39    <style name="CutoutShortEdges" parent="@style/DefaultTheme">
40        <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
41    </style>
42
43    <style name="CutoutNever" parent="@style/DefaultTheme">
44        <item name="android:windowLayoutInDisplayCutoutMode">never</item>
45    </style>
46
47    <style name="DialogTheme" parent="@style/OptOutEdgeToEdge">
48        <item name="android:windowAnimationStyle">@null</item>
49        <item name="android:windowIsTranslucent">true</item>
50        <item name="android:windowBackground">@null</item>
51        <item name="android:windowContentOverlay">@null</item>
52        <item name="android:windowNoTitle">true</item>
53        <item name="android:windowIsFloating">true</item>
54        <item name="android:backgroundDimEnabled">false</item>
55        <item name="android:windowSoftInputMode">stateUnchanged</item>
56    </style>
57
58    <style name="TransparentTheme" parent="@style/OptOutEdgeToEdge">
59        <item name="android:windowIsTranslucent">true</item>
60        <item name="android:windowBackground">@android:color/transparent</item>
61        <item name="android:windowContentOverlay">@null</item>
62        <item name="android:backgroundDimEnabled">false</item>
63    </style>
64
65    <style name="no_starting_window" parent="@style/OptOutEdgeToEdge">
66        <item name="android:windowDisablePreview">true</item>
67    </style>
68
69    <style name="SplashscreenAppTheme" parent="@style/OptOutEdgeToEdge">
70        <!-- Splashscreen Attributes -->
71        <item name="android:windowSplashScreenAnimatedIcon">@drawable/avd_anim</item>
72        <!-- Here we want to match the duration of our AVD -->
73        <item name="android:windowSplashScreenAnimationDuration">900</item>
74    </style>
75</resources>
76