| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright (C) 2016 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="Theme.Transparent" parent="android:Theme"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowNoTitle">true</item> |
| </style> |
| <style name="WallpaperTheme"> |
| <item name="android:windowShowWallpaper">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowDisablePreview">true</item> |
| </style> |
| <style name="TranslucentTheme"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowDisablePreview">true</item> |
| </style> |
| <style name="TranslucentWallpaperTheme"> |
| <item name="android:windowShowWallpaper">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowDisablePreview">true</item> |
| </style> |
| <style name="OpaqueTheme"> |
| <item name="android:windowIsTranslucent">false</item> |
| <item name="android:windowIsFloating">false</item> |
| </style> |
| <style name="NoPreview"> |
| <item name="android:windowDisablePreview">true</item> |
| </style> |
| <style name="SplashscreenTheme" parent="@android:style/Theme.Material.NoActionBar"> |
| <item name="android:windowSplashscreenContent">@drawable/red</item> |
| </style> |
| |
| <style name="BackgroundImage" parent="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:windowLayoutInDisplayCutoutMode">always</item> |
| <item name="android:windowSoftInputMode">stateHidden</item> |
| </style> |
| |
| <style name="TranslucentDialog" parent="@android:style/Theme.Material.Dialog"> |
| <item name="android:windowIsTranslucent">true</item> |
| <item name="android:windowBackground">@android:color/transparent</item> |
| <item name="android:windowNoTitle">true</item> |
| <item name="android:backgroundDimEnabled">false</item> |
| <item name="android:windowBlurBehindEnabled">true</item> |
| <item name="android:windowDisablePreview">true</item> |
| <item name="android:windowElevation">0dp</item> |
| <item name="android:windowLayoutInDisplayCutoutMode">always</item> |
| <item name="android:windowSoftInputMode">stateHidden</item> |
| </style> |
| |
| <style name="BlurryDialog" parent="TranslucentDialog"> |
| <item name="android:windowBackgroundBlurRadius">@dimen/test_background_blur_radius</item> |
| <item name="android:windowBlurBehindRadius">@dimen/test_blur_behind_radius</item> |
| <item name="android:windowBlurBehindEnabled">true</item> |
| </style> |
| |
| <style name="BadBlurryDialog" parent="TranslucentDialog"> |
| <item name="android:windowIsTranslucent">false</item> |
| <item name="android:windowBlurBehindEnabled">false</item> |
| </style> |
| |
| <style name="ReplaceIconTheme" parent="@android:style/Theme.Material.NoActionBar"> |
| <item name="android:windowSplashScreenBackground">@drawable/blue</item> |
| <item name="android:windowSplashScreenAnimatedIcon">@drawable/animationDrawable</item> |
| <item name="android:windowSplashScreenAnimationDuration">500</item> |
| </style> |
| <style name="ShowBrandingTheme" parent="@android:style/Theme.Material.NoActionBar"> |
| <item name="android:windowSplashScreenBrandingImage">@drawable/branding</item> |
| <item name="android:windowSplashScreenIconBackgroundColor">@drawable/blue</item> |
| </style> |
| |
| <style name="SplashScreenOverrideTheme" parent="ReplaceIconTheme"> |
| <item name="android:windowSplashScreenBackground">@drawable/red</item> |
| </style> |
| </resources> |