| <?xml version="1.0" encoding="utf-8"?><!-- |
| Copyright 2021 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.SplashScreenBase" parent="android:Theme.NoTitleBar"> |
| <item name="android:windowBackground"> |
| @drawable/compat_splash_screen_no_icon_background |
| </item> |
| <item name="android:opacity">opaque</item> |
| <item name="android:windowDrawsSystemBarBackgrounds">true</item> |
| <item name="android:fitsSystemWindows">false</item> |
| <item name="android:statusBarColor">@android:color/transparent</item> |
| <item name="android:navigationBarColor">@android:color/transparent</item> |
| <item name="splashScreenIconSize">@dimen/splashscreen_icon_size_no_background</item> |
| </style> |
| |
| <style name="Theme.SplashScreen" parent="Theme.SplashScreenBase"> |
| <item name="postSplashScreenTheme">?android:attr/theme</item> |
| <item name="windowSplashScreenAnimationDuration"> |
| @integer/default_icon_animation_duration |
| </item> |
| <item name="windowSplashScreenBackground">@android:color/background_light</item> |
| <item name="windowSplashScreenAnimatedIcon">@android:drawable/sym_def_app_icon</item> |
| |
| </style> |
| |
| <style name="Theme.SplashScreen.IconBackground" parent="Theme.SplashScreen"> |
| <item name="android:windowBackground">@drawable/compat_splash_screen</item> |
| <item name="splashScreenIconSize">@dimen/splashscreen_icon_size_with_background</item> |
| </style> |
| </resources> |