mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 00:37:38 +00:00
Fixed styles for SU screen
This commit is contained in:
parent
750c42caf1
commit
d9cded0fc9
@ -44,7 +44,7 @@
|
|||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:directBootAware="true"
|
android:directBootAware="true"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:theme="@style/SuRequest" />
|
android:theme="@style/MagiskTheme.SU" />
|
||||||
|
|
||||||
<!-- Receiver -->
|
<!-- Receiver -->
|
||||||
|
|
||||||
|
18
app/src/main/res/values-night/colors.xml
Normal file
18
app/src/main/res/values-night/colors.xml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="colorSecondary">#FFC107</color>
|
||||||
|
<color name="colorSecondaryDark">#AD8305</color>
|
||||||
|
|
||||||
|
<color name="dividerGray">#888888</color>
|
||||||
|
|
||||||
|
<color name="colorText">#FFFFFF</color>
|
||||||
|
<color name="colorTextInactive">#ADADAD</color>
|
||||||
|
<color name="colorTextInverse">#1D1D1D</color>
|
||||||
|
|
||||||
|
<color name="colorTextTinted">#FFFFFF</color>
|
||||||
|
<color name="colorCardStroke">#2AFFFFFF</color>
|
||||||
|
<color name="colorCardStrokeInverse">#2AE4E4E4</color>
|
||||||
|
|
||||||
|
<color name="colorBackground">#313131</color>
|
||||||
|
<color name="colorTintedBackground">@color/colorPrimary</color>
|
||||||
|
</resources>
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
<style name="ThemeFoundation" parent="Theme.MaterialComponents.NoActionBar" />
|
<style name="ThemeFoundation" parent="Theme.MaterialComponents.NoActionBar" />
|
||||||
|
|
||||||
|
<style name="MagiskTheme.SUFoundation" parent="Theme.MaterialComponents.Dialog" />
|
||||||
|
|
||||||
<style name="MagiskTheme" parent="ThemeFoundation.Colored.ExtraProps">
|
<style name="MagiskTheme" parent="ThemeFoundation.Colored.ExtraProps">
|
||||||
<!--All of these attributes are deprecated and will be removed-->
|
<!--All of these attributes are deprecated and will be removed-->
|
||||||
<item name="cardStyle">@style/CardViewStyle.Dark</item>
|
<item name="cardStyle">@style/CardViewStyle.Dark</item>
|
||||||
|
@ -32,7 +32,9 @@
|
|||||||
<item name="android:windowBackground">@android:color/black</item>
|
<item name="android:windowBackground">@android:color/black</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MagiskTheme.SU" parent="Theme.AppCompat.Dialog">
|
<style name="MagiskTheme.SUFoundation" parent="Theme.MaterialComponents.Light.Dialog" />
|
||||||
|
|
||||||
|
<style name="MagiskTheme.SU" parent="MagiskTheme.SUFoundation">
|
||||||
<item name="android:windowBackground">@android:color/transparent</item>
|
<item name="android:windowBackground">@android:color/transparent</item>
|
||||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||||
<item name="android:windowIsFloating">true</item>
|
<item name="android:windowIsFloating">true</item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user