Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
cov/c3 ▾

Modern-Apps.git / library / src / main / res / values-night-v33 / themes.xml

themes.xml24 lines · 1.3 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<resources>
3
4 <!-- API 33+ night twin of Theme.General: dark parent plus icon_preferred, mirroring
5 values-night/themes.xml with the icon forced on. -->
6 <style name="Theme.General" parent="android:Theme.Material.NoActionBar">
7 <item name="android:windowSoftInputMode">stateUnchanged</item>
8 <item name="android:windowSplashScreenBackground">?android:attr/colorBackground</item>
9 <item name="android:windowSplashScreenIconBackgroundColor">@color/ic_launcher_background</item>
10 <item name="android:windowSplashScreenBehavior">icon_preferred</item>
11 </style>
12
13 <!-- Transparent host for headless prompt activities (passwords' CableActivity):
14 no content is ever set, only a system BiometricPrompt is shown, so the
15 window must not paint an opaque background over the calling app. -->
16 <style name="Theme.General.Translucent" parent="android:Theme.Material.NoActionBar">
17 <item name="android:windowIsTranslucent">true</item>
18 <item name="android:windowBackground">@android:color/transparent</item>
19 <item name="android:windowContentOverlay">@null</item>
20 <item name="android:windowNoTitle">true</item>
21 <item name="android:windowIsFloating">false</item>
22 <item name="android:backgroundDimEnabled">false</item>
23 </style>
24</resources>