Home | History | Annotate | Download | only in values
      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:windowSwipeToDismiss">false</item>
     43         <item name="android:windowIsFloating">false</item>
     44     </style>
     45     <style name="NoPreview">
     46         <item name="android:windowDisablePreview">true</item>
     47     </style>
     48     <style name="SplashscreenTheme" parent="@android:style/Theme.Material.NoActionBar">
     49         <item name="android:windowSplashscreenContent">@drawable/red</item>
     50     </style>
     51 </resources>
     52