Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / src / main / res / values-v33 / themes.xml
themes.xml25 lines · 1.5 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <resources> |
| 3 | |
| 4 | <!-- API 33+ twin of Theme.General: the base values/themes.xml plus icon_preferred, so the |
| 5 | system always draws the launcher glyph instead of following the OEM's default (which |
| 6 | on some devices is an empty splash). Background and icon disc mirror the base file. --> |
| 7 | <style name="Theme.General" parent="android:Theme.Material.Light.NoActionBar"> |
| 8 | <item name="android:windowSoftInputMode">stateUnchanged</item> |
| 9 | <item name="android:windowSplashScreenBackground">?android:attr/colorBackground</item> |
| 10 | <item name="android:windowSplashScreenIconBackgroundColor">@color/ic_launcher_background</item> |
| 11 | <item name="android:windowSplashScreenBehavior">icon_preferred</item> |
| 12 | </style> |
| 13 | |
| 14 | <!-- Transparent host for headless prompt activities (passwords' CableActivity): |
| 15 | no content is ever set, only a system BiometricPrompt is shown, so the |
| 16 | window must not paint an opaque background over the calling app. --> |
| 17 | <style name="Theme.General.Translucent" parent="android:Theme.Material.Light.NoActionBar"> |
| 18 | <item name="android:windowIsTranslucent">true</item> |
| 19 | <item name="android:windowBackground">@android:color/transparent</item> |
| 20 | <item name="android:windowContentOverlay">@null</item> |
| 21 | <item name="android:windowNoTitle">true</item> |
| 22 | <item name="android:windowIsFloating">false</item> |
| 23 | <item name="android:backgroundDimEnabled">false</item> |
| 24 | </style> |
| 25 | </resources> |