diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/pro/fragments/TextFragment.kt b/app/src/main/kotlin/com/simplemobiletools/notes/pro/fragments/TextFragment.kt index e0375dec..d49360d6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/pro/fragments/TextFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/pro/fragments/TextFragment.kt @@ -122,7 +122,7 @@ class TextFragment : NoteFragment() { return } - setColors(config.textColor, config.primaryColor, config.backgroundColor) + setColors(config.textColor, context.getAdjustedPrimaryColor(), config.backgroundColor) setTextSize(TypedValue.COMPLEX_UNIT_PX, context.getTextSize()) gravity = config.getTextGravity() if (text.toString() != fileContents) { diff --git a/app/src/main/res/layout/fragment_text.xml b/app/src/main/res/layout/fragment_text.xml index ef39270e..f3a3b6e6 100644 --- a/app/src/main/res/layout/fragment_text.xml +++ b/app/src/main/res/layout/fragment_text.xml @@ -26,7 +26,6 @@ android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" - android:layout_alignParentRight="true" android:padding="@dimen/small_margin" android:textStyle="italic" tools:text="123"/>