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="ReplaceIconTheme" parent="@android:style/Theme.Material.NoActionBar"> 53 <item name="android:windowSplashScreenBackground">@drawable/blue</item> 54 <item name="android:windowSplashScreenAnimatedIcon">@drawable/animationDrawable</item> 55 <item name="android:windowSplashScreenAnimationDuration">500</item> 56 </style> 57 <style name="ShowBrandingTheme" parent="@android:style/Theme.Material.NoActionBar"> 58 <item name="android:windowSplashScreenBrandingImage">@drawable/branding</item> 59 <item name="android:windowSplashScreenAnimatedIcon">@drawable/start</item> 60 <item name="android:windowSplashScreenIconBackgroundColor">@drawable/blue</item> 61 </style> 62 63 <style name="SplashScreenOverrideTheme" parent="ReplaceIconTheme"> 64 <item name="android:windowSplashScreenBackground">@drawable/red</item> 65 </style> 66 67 <style name="SplashScreenStyleTheme" parent="@android:style/Theme.Material.NoActionBar"> 68 <item name="android:windowSplashScreenBehavior">icon_preferred</item> 69 </style> 70 71 <style name="NoInsetsTheme" parent="@android:style/Theme.NoTitleBar"> 72 <item name="android:windowLayoutInDisplayCutoutMode">always</item> 73 <item name="android:windowSoftInputMode">stateHidden</item> 74 </style> 75</resources> 76