From 65c47098ddbb5097b4a865193339ffbf39fbda6b Mon Sep 17 00:00:00 2001 From: Fahim Salam Chowdhury Date: Tue, 17 May 2022 17:36:34 +0600 Subject: [PATCH] 311-Encrpytion_notifier_in_recipient_token_not_visible_in_dark_mode_issue issue: https://gitlab.e.foundation/e/os/backlog/-/issues/311 - `openpgp_black` as pure black color always, it is not visible in dark mode. We upate it to default_color to be visible in both light & dark mode. - move encrytion status notifiers in the token item view under the background, because they look better this way with new circular corner background. --- app/k9mail/src/main/res/values/themes.xml | 4 +- .../main/res/layout/recipient_token_item.xml | 70 ++++++++++--------- 2 files changed, 38 insertions(+), 36 deletions(-) diff --git a/app/k9mail/src/main/res/values/themes.xml b/app/k9mail/src/main/res/values/themes.xml index b18641e71e..9da0928dd4 100644 --- a/app/k9mail/src/main/res/values/themes.xml +++ b/app/k9mail/src/main/res/values/themes.xml @@ -139,7 +139,7 @@ @drawable/ic_twitter @drawable/ic_visibility - #000 + @color/default_icon_color #FF8800 #CC0000 #669900 @@ -265,7 +265,7 @@ @drawable/ic_twitter @drawable/ic_visibility - #000 + @color/default_icon_color #FF8800 #CC0000 #669900 diff --git a/app/ui/legacy/src/main/res/layout/recipient_token_item.xml b/app/ui/legacy/src/main/res/layout/recipient_token_item.xml index 1262310d25..894005a033 100644 --- a/app/ui/legacy/src/main/res/layout/recipient_token_item.xml +++ b/app/ui/legacy/src/main/res/layout/recipient_token_item.xml @@ -5,6 +5,42 @@ android:layout_width="wrap_content" android:layout_height="wrap_content"> + + + + + + - - - -