Hardcode @color/black
Some custom ROMs do strange stuff with @android:color/black, messing up the themes. This makes sure at least the black theme is always black (for OLED devices).
This commit is contained in:
parent
3fa60bcc12
commit
be0926bda1
3 changed files with 6 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
</style>
|
||||
|
||||
<style name="AppTheme.Black" parent="AppBaseTheme.Black">
|
||||
<item name="android:navigationBarColor">?android:attr/colorBackground</item>
|
||||
<item name="android:navigationBarColor">@color/black</item>
|
||||
<item name="android:windowLightNavigationBar">false</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
<color name="warning_red">#b71c1c</color> <!-- material_red_900 -->
|
||||
|
||||
<color name="black">#000000</color>
|
||||
|
||||
<color name="dark_thumbnail_background">#ffe0e0e0</color> <!-- material_grey_300 -->
|
||||
|
||||
<color name="fab_small_label_background">#212121</color>
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
|
||||
<item name="windowBackground">@android:color/black</item>
|
||||
<item name="windowBackground">@color/black</item>
|
||||
<item name="thumbnailBackground">@color/dark_thumbnail_background</item>
|
||||
|
||||
<item name="colorGithub">@color/github_light</item>
|
||||
|
@ -100,7 +100,7 @@
|
|||
<item name="cardStyle">@style/CardViewStyle.Black</item>
|
||||
<item name="dialogTheme">@style/DialogTheme.Dark</item>
|
||||
|
||||
<item name="about_libraries_card">@android:color/black</item>
|
||||
<item name="about_libraries_card">@color/black</item>
|
||||
<item name="about_libraries_title_openSource">@color/about_libraries_text_openSource_dark</item>
|
||||
<item name="about_libraries_text_openSource">@color/about_libraries_text_openSource_dark</item>
|
||||
<item name="about_libraries_dividerDark_openSource">@color/about_libraries_dividerDark_openSource_dark</item>
|
||||
|
@ -110,7 +110,7 @@
|
|||
<style name="AppTheme.Black" parent="AppBaseTheme.Black"/>
|
||||
|
||||
<style name="CardViewStyle.Black">
|
||||
<item name="cardBackgroundColor">@android:color/black</item>
|
||||
<item name="cardBackgroundColor">@color/black</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Black.NoActionBar">
|
||||
|
|
Loading…
Reference in a new issue