mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-23 20:10:07 +01:00
use white text highlight color at B&W theme
This commit is contained in:
parent
9e2429ad73
commit
224ba376cf
@ -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) {
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user