diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java b/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java index 4173ead793..942bec654b 100644 --- a/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java +++ b/app/src/main/java/eu/faircode/email/FragmentDialogTheme.java @@ -231,6 +231,10 @@ public class FragmentDialogTheme extends FragmentDialogBase { rgTheme.check(R.id.rbThemeSolarized); break; + case "blank": + rgTheme.check(R.id.rbThemeBlank); + break; + case "black": case "white": case "bw_system": @@ -346,7 +350,9 @@ public class FragmentDialogTheme extends FragmentDialogBase { else editor.putString("theme", "solarized" + (dark ? "_dark" : "_light")).apply(); - } else if (checkedRadioButtonId == R.id.rbThemeBlackOrWhite) { + } else if (checkedRadioButtonId == R.id.rbThemeBlank) + editor.putString("theme", "blank").apply(); + else if (checkedRadioButtonId == R.id.rbThemeBlackOrWhite) { if (system) editor.putString("theme", "bw_system").apply(); else @@ -499,6 +505,9 @@ public class FragmentDialogTheme extends FragmentDialogBase { return R.style.AppThemeSolarizedDark; // Black + case "blank": + return R.style.AppThemeBlank; + case "black": if (light) return R.style.AppThemeGreySteelBlueLight; diff --git a/app/src/main/res/drawable/selected_count_background.xml b/app/src/main/res/drawable/selected_count_background.xml index 29ab2dbb72..44357c1595 100644 --- a/app/src/main/res/drawable/selected_count_background.xml +++ b/app/src/main/res/drawable/selected_count_background.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/res/layout-v31/dialog_theme.xml b/app/src/main/res/layout-v31/dialog_theme.xml index 0862699c59..946ab4479f 100644 --- a/app/src/main/res/layout-v31/dialog_theme.xml +++ b/app/src/main/res/layout-v31/dialog_theme.xml @@ -73,6 +73,14 @@ android:text="@string/title_setup_theme_solarized" android:textAppearance="@style/TextAppearance.AppCompat.Medium" /> + + + + + + #ffffffff #ff000000 + #fff5f5f5 #ff7f7f7f #ffff0000 #00000000 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 55e1a21eda..ab220a95ed 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -431,6 +431,17 @@ @style/WhiteSnackBar + +