diff --git a/CHANGELOG.md b/CHANGELOG.md index 788219a483..52263875a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Next version * Added display option to use highlight color for unread shadow +* Added display option for wide color stripe * Added notification/delete for POP3 when "leave deleted" is enabled * Improved support for read-only folders * Small improvements and minor bug fixes diff --git a/app/src/main/assets/CHANGELOG.md b/app/src/main/assets/CHANGELOG.md index 788219a483..52263875a2 100644 --- a/app/src/main/assets/CHANGELOG.md +++ b/app/src/main/assets/CHANGELOG.md @@ -7,6 +7,7 @@ ### Next version * Added display option to use highlight color for unread shadow +* Added display option for wide color stripe * Added notification/delete for POP3 when "leave deleted" is enabled * Improved support for read-only folders * Small improvements and minor bug fixes diff --git a/app/src/main/java/eu/faircode/email/AdapterAccount.java b/app/src/main/java/eu/faircode/email/AdapterAccount.java index a522fe8c11..bbbd9a45b7 100644 --- a/app/src/main/java/eu/faircode/email/AdapterAccount.java +++ b/app/src/main/java/eu/faircode/email/AdapterAccount.java @@ -81,6 +81,7 @@ public class AdapterAccount extends RecyclerView.Adapter items = new ArrayList<>(); private DateFormat DTF; @@ -109,6 +113,8 @@ public class AdapterIdentity extends RecyclerView.Adapter= Build.VERSION_CODES.S) + views.setViewLayoutWidth(R.id.stripe, colorStripeWidth, TypedValue.COMPLEX_UNIT_PX); views.setInt(R.id.stripe, "setBackgroundColor", colorBackground); views.setViewVisibility(R.id.stripe, hasColor && color_stripe ? View.VISIBLE : View.GONE); diff --git a/app/src/main/res/layout/fragment_options_display.xml b/app/src/main/res/layout/fragment_options_display.xml index 7c01890fb5..cbd20b8966 100644 --- a/app/src/main/res/layout/fragment_options_display.xml +++ b/app/src/main/res/layout/fragment_options_display.xml @@ -567,13 +567,24 @@ android:layout_height="wrap_content" android:layout_marginTop="12dp" android:checked="true" - android:enabled="true" android:text="@string/title_advanced_color_stripe" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/btnHighlightColor" app:switchPadding="12dp" /> + + + app:layout_constraintTop_toBottomOf="@id/swColorStripeWide" /> Left/right indent received/sent messages in conversations Highlight unread messages Show color stripe + Use wide color stripe Show contact photos Show Gravatars Show Brand Indicators for Message Identification (BIMI) diff --git a/metadata/en-US/changelogs/1782.txt b/metadata/en-US/changelogs/1782.txt index 788219a483..52263875a2 100644 --- a/metadata/en-US/changelogs/1782.txt +++ b/metadata/en-US/changelogs/1782.txt @@ -7,6 +7,7 @@ ### Next version * Added display option to use highlight color for unread shadow +* Added display option for wide color stripe * Added notification/delete for POP3 when "leave deleted" is enabled * Improved support for read-only folders * Small improvements and minor bug fixes