use white text highlight color at B&W theme

This commit is contained in:
tibbi 2020-01-03 23:45:25 +01:00
parent 9e2429ad73
commit 224ba376cf
2 changed files with 5 additions and 2 deletions

View File

@ -122,8 +122,11 @@ class TextFragment : NoteFragment() {
return
}
setColors(config.textColor, context.getAdjustedPrimaryColor(), config.backgroundColor)
val adjustedPrimaryColor = context.getAdjustedPrimaryColor()
setColors(config.textColor, adjustedPrimaryColor, config.backgroundColor)
setTextSize(TypedValue.COMPLEX_UNIT_PX, context.getTextSize())
highlightColor = adjustedPrimaryColor.adjustAlpha(.4f)
gravity = config.getTextGravity()
if (text.toString() != fileContents) {
if (!skipTextUpdating) {

View File

@ -10,7 +10,7 @@
android:id="@+id/open_note_item_radio_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/open_note_item_icon"/>
android:layout_toStartOf="@+id/open_note_item_icon"/>
<ImageView
android:id="@+id/open_note_item_icon"