1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2016 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="Theme.Transparent" parent="android:Theme">
20        <item name="android:windowIsTranslucent">true</item>
21        <item name="android:windowBackground">@android:color/transparent</item>
22        <item name="android:windowNoTitle">true</item>
23    </style>
24    <style name="WallpaperTheme">
25        <item name="android:windowShowWallpaper">true</item>
26        <item name="android:windowBackground">@android:color/transparent</item>
27        <item name="android:windowDisablePreview">true</item>
28    </style>
29    <style name="TranslucentTheme">
30        <item name="android:windowIsTranslucent">true</item>
31        <item name="android:windowBackground">@android:color/transparent</item>
32        <item name="android:windowDisablePreview">true</item>
33    </style>
34    <style name="TranslucentWallpaperTheme">
35        <item name="android:windowShowWallpaper">true</item>
36        <item name="android:windowBackground">@android:color/transparent</item>
37        <item name="android:windowIsTranslucent">true</item>
38        <item name="android:windowDisablePreview">true</item>
39    </style>
40    <style name="OpaqueTheme">
41        <item name="android:windowIsTranslucent">false</item>
42        <item name="android:windowIsFloating">false</item>
43    </style>
44    <style name="NoPreview">
45        <item name="android:windowDisablePreview">true</item>
46    </style>
47    <style name="SplashscreenTheme" parent="@android:style/Theme.Material.NoActionBar">
48        <item name="android:windowSplashscreenContent">@drawable/red</item>
49        <item name="android:windowSplashScreenBackground">@drawable/blue</item>
50    </style>
51
52    <style name="BackgroundImage" parent="@android:style/Theme.Translucent.NoTitleBar.Fullscreen">
53        <item name="android:windowNoTitle">true</item>
54        <item name="android:windowLayoutInDisplayCutoutMode">always</item>
55        <item name="android:windowSoftInputMode">stateHidden</item>
56    </style>
57
58    <style name="TranslucentDialog" parent="@android:style/Theme.Material.Dialog">
59        <item name="android:windowIsTranslucent">true</item>
60        <item name="android:windowBackground">@android:color/transparent</item>
61        <item name="android:windowNoTitle">true</item>
62        <item name="android:backgroundDimEnabled">false</item>
63        <item name="android:windowBlurBehindEnabled">true</item>
64        <item name="android:windowDisablePreview">true</item>
65        <item name="android:windowElevation">0dp</item>
66        <item name="android:windowLayoutInDisplayCutoutMode">always</item>
67        <item name="android:windowSoftInputMode">stateHidden</item>
68    </style>
69
70    <style name="BlurryDialog" parent="TranslucentDialog">
71        <item name="android:windowBackgroundBlurRadius">@dimen/test_background_blur_radius</item>
72        <item name="android:windowBlurBehindRadius">@dimen/test_blur_behind_radius</item>
73        <item name="android:windowBlurBehindEnabled">true</item>
74    </style>
75
76    <style name="BadBlurryDialog" parent="TranslucentDialog">
77        <item name="android:windowIsTranslucent">false</item>
78        <item name="android:windowBlurBehindEnabled">false</item>
79    </style>
80
81    <style name="ReplaceIconTheme" parent="@android:style/Theme.Material.NoActionBar">
82        <item name="android:windowSplashScreenBackground">@drawable/blue</item>
83        <item name="android:windowSplashScreenAnimatedIcon">@drawable/animationDrawable</item>
84        <item name="android:windowSplashScreenAnimationDuration">500</item>
85    </style>
86    <style name="ShowBrandingTheme" parent="@android:style/Theme.Material.NoActionBar">
87        <item name="android:windowSplashScreenBrandingImage">@drawable/branding</item>
88        <item name="android:windowSplashScreenAnimatedIcon">@drawable/start</item>
89        <item name="android:windowSplashScreenIconBackgroundColor">@drawable/blue</item>
90    </style>
91
92    <style name="SplashScreenOverrideTheme" parent="ReplaceIconTheme">
93        <item name="android:windowSplashScreenBackground">@drawable/red</item>
94    </style>
95</resources>
96