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="DefaultTheme" parent="@android:style/Theme.DeviceDefault">
20        <item name="android:windowBackground">@android:color/darker_gray</item>
21    </style>
22
23    <style name="CutoutDefault" parent="@style/DefaultTheme">
24        <item name="android:windowLayoutInDisplayCutoutMode">default</item>
25    </style>
26
27    <style name="CutoutShortEdges" parent="@style/DefaultTheme">
28        <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
29    </style>
30
31    <style name="CutoutNever" parent="@style/DefaultTheme">
32        <item name="android:windowLayoutInDisplayCutoutMode">never</item>
33    </style>
34
35    <style name="DialogTheme" parent="@android:style/Theme.DeviceDefault">
36        <item name="android:windowAnimationStyle">@null</item>
37        <item name="android:windowIsTranslucent">true</item>
38        <item name="android:windowBackground">@null</item>
39        <item name="android:windowContentOverlay">@null</item>
40        <item name="android:windowNoTitle">true</item>
41        <item name="android:windowIsFloating">true</item>
42        <item name="android:backgroundDimEnabled">false</item>
43        <item name="android:windowSoftInputMode">stateUnchanged</item>
44    </style>
45
46    <style name="TransparentTheme" parent="@android:style/Theme.DeviceDefault">
47        <item name="android:windowIsTranslucent">true</item>
48        <item name="android:windowBackground">@android:color/transparent</item>
49        <item name="android:windowContentOverlay">@null</item>
50        <item name="android:backgroundDimEnabled">false</item>
51    </style>
52
53    <style name="no_starting_window" parent="@android:style/Theme.DeviceDefault">
54        <item name="android:windowDisablePreview">true</item>
55    </style>
56</resources>
57