Use black background for AMOLED theme cards, dialogs (#2422)

This commit is contained in:
arkon 2020-01-20 21:34:47 -05:00 committed by GitHub
parent b48f08e65c
commit 578bab5fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -40,7 +40,6 @@
<color name="appBarDark">@color/md_grey_900</color> <color name="appBarDark">@color/md_grey_900</color>
<color name="backgroundDark">@color/colorDarkPrimaryDark</color> <color name="backgroundDark">@color/colorDarkPrimaryDark</color>
<color name="dialogDark">@color/colorDarkPrimary</color> <color name="dialogDark">@color/colorDarkPrimary</color>
<color name="dialog_amoled">@color/colorDarkPrimaryDark</color>
<color name="selectorColorDark">@color/md_blue_A200_50</color> <color name="selectorColorDark">@color/md_blue_A200_50</color>
<color name="iconColorDark">@color/md_white_1000_54</color> <color name="iconColorDark">@color/md_white_1000_54</color>

View File

@ -32,6 +32,10 @@
<item name="colorAccent">@color/colorAccentDark</item> <item name="colorAccent">@color/colorAccentDark</item>
</style> </style>
<style name="Theme.AlertDialog.Amoled" parent="Theme.AlertDialog.Dark">
<item name="android:background">@color/colorAmoledPrimary</item>
</style>
<!--==============--> <!--==============-->
<!--NavigationView--> <!--NavigationView-->
<!--==============--> <!--==============-->

View File

@ -113,10 +113,14 @@
<item name="android:statusBarColor">@android:color/transparent</item> <item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item> <item name="android:navigationBarColor">@android:color/transparent</item>
<!-- Themes -->
<item name="md_background_color">@color/colorAmoledPrimary</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.Amoled</item>
<!-- Custom Attributes--> <!-- Custom Attributes-->
<item name="selectable_list_drawable">@drawable/list_item_selector_amoled</item> <item name="selectable_list_drawable">@drawable/list_item_selector_amoled</item>
<item name="selectable_library_drawable">@drawable/library_item_selector_amoled</item> <item name="selectable_library_drawable">@drawable/library_item_selector_amoled</item>
<item name="background_card">@color/dialog_amoled</item> <item name="background_card">@color/colorAmoledPrimary</item>
</style> </style>
<style name="Theme.Tachiyomi.Amoled" parent="Theme.Base.Amoled"> <style name="Theme.Tachiyomi.Amoled" parent="Theme.Base.Amoled">