mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-25 04:22:30 +01:00
Made statusbar color transparent for RouterActivity (Android 5+)
Fix for https://github.com/TeamNewPipe/NewPipe/pull/8332
This commit is contained in:
parent
2985258074
commit
be5af0b777
@ -12,21 +12,31 @@
|
|||||||
<style name="Base" parent="Base.V21"/>
|
<style name="Base" parent="Base.V21"/>
|
||||||
|
|
||||||
<!-- Light Theme -->
|
<!-- Light Theme -->
|
||||||
<style name="Base.V21.LightTheme" parent="Base.V19.LightTheme">
|
<style name="Base.V21.LightTheme" parent="Base.V19.LightTheme" />
|
||||||
|
|
||||||
</style>
|
|
||||||
<style name="Base.LightTheme" parent="Base.V21.LightTheme" />
|
<style name="Base.LightTheme" parent="Base.V21.LightTheme" />
|
||||||
|
|
||||||
<!-- Dark Theme -->
|
<!-- Dark Theme -->
|
||||||
<style name="Base.V21.DarkTheme" parent="Base.V19.DarkTheme">
|
<style name="Base.V21.DarkTheme" parent="Base.V19.DarkTheme" />
|
||||||
|
|
||||||
</style>
|
|
||||||
<style name="Base.DarkTheme" parent="Base.V21.DarkTheme" />
|
<style name="Base.DarkTheme" parent="Base.V21.DarkTheme" />
|
||||||
|
|
||||||
<!-- Black Theme -->
|
<!-- Black Theme -->
|
||||||
<style name="Base.V21.BlackTheme" parent="Base.V19.BlackTheme">
|
<style name="Base.V21.BlackTheme" parent="Base.V19.BlackTheme" />
|
||||||
|
|
||||||
</style>
|
|
||||||
<style name="Base.BlackTheme" parent="Base.V21.BlackTheme" />
|
<style name="Base.BlackTheme" parent="Base.V21.BlackTheme" />
|
||||||
|
|
||||||
|
<!-- Router Activity -->
|
||||||
|
<style name="Base.V21.RouterActivityThemeLight" parent="Base.RouterActivityThemeLight">
|
||||||
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="RouterActivityThemeLight" parent="Base.V21.RouterActivityThemeLight" />
|
||||||
|
|
||||||
|
<style name="Base.V21.RouterActivityThemeDark" parent="Base.RouterActivityThemeDark">
|
||||||
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="RouterActivityThemeDark" parent="Base.V21.RouterActivityThemeDark" />
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -130,7 +130,8 @@
|
|||||||
<item name="colorAccent">@color/black_settings_accent_color</item>
|
<item name="colorAccent">@color/black_settings_accent_color</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="RouterActivityThemeLight" parent="LightTheme">
|
<!-- Router Activity -->
|
||||||
|
<style name="Base.RouterActivityThemeLight" parent="LightTheme">
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
<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>
|
||||||
@ -138,7 +139,9 @@
|
|||||||
<item name="android:windowAnimationStyle">@null</item>
|
<item name="android:windowAnimationStyle">@null</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="RouterActivityThemeDark" parent="DarkTheme">
|
<style name="RouterActivityThemeLight" parent="Base.RouterActivityThemeLight" />
|
||||||
|
|
||||||
|
<style name="Base.RouterActivityThemeDark" parent="DarkTheme">
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
<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>
|
||||||
@ -146,4 +149,6 @@
|
|||||||
<item name="android:windowAnimationStyle">@null</item>
|
<item name="android:windowAnimationStyle">@null</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="RouterActivityThemeDark" parent="Base.RouterActivityThemeDark" />
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user